Use the new Travis-CI Container environment
This commit is contained in:
parent
0bfc04bb14
commit
54223e9a99
16
.travis.yml
16
.travis.yml
|
@ -1,11 +1,21 @@
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- lib32stdc++6
|
||||||
|
- lib32z1-dev
|
||||||
|
- libc6-dev-i386
|
||||||
|
- gcc-multilib
|
||||||
|
- g++-multilib
|
||||||
language: cpp
|
language: cpp
|
||||||
|
sudo: false
|
||||||
compiler:
|
compiler:
|
||||||
- clang
|
- clang
|
||||||
before_script:
|
before_script:
|
||||||
- sudo apt-get update -qq
|
- CHECKOUT_DIR=$PWD && cd ..
|
||||||
- sudo apt-get install -y g++-multilib libc6-dev-i386 lib32stdc++6 lib32z1-dev
|
- chmod a+x $CHECKOUT_DIR/support/checkout-deps.sh
|
||||||
- CHECKOUT_DIR=$PWD && cd .. && $CHECKOUT_DIR/support/checkout-deps.sh --no-mysql && cd $CHECKOUT_DIR
|
- $CHECKOUT_DIR/support/checkout-deps.sh --no-mysql && cd $CHECKOUT_DIR
|
||||||
script:
|
script:
|
||||||
- mkdir build && cd build
|
- mkdir build && cd build
|
||||||
|
- PATH="~/.local/bin:$PATH"
|
||||||
- python ../configure.py --enable-optimize --no-mysql
|
- python ../configure.py --enable-optimize --no-mysql
|
||||||
- ambuild
|
- ambuild
|
||||||
|
|
|
@ -91,7 +91,7 @@ if [ $? -eq 1 ]; then
|
||||||
python setup.py install
|
python setup.py install
|
||||||
else
|
else
|
||||||
python setup.py build
|
python setup.py build
|
||||||
echo "About to install AMBuild - press Ctrl+C to abort, otherwise enter your password for sudo."
|
echo "Installing AMBuild at the user level. Location can be: ~/.local/bin"
|
||||||
sudo python setup.py install
|
python setup.py install --user
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user