update to trusty distro, remove 3rd-party PPAs for testing
This commit is contained in:
parent
c4165cc210
commit
a638d7937d
@ -10,15 +10,23 @@ matrix:
|
|||||||
- compiler: clang
|
- compiler: clang
|
||||||
os: linux
|
os: linux
|
||||||
env: ARCH=native
|
env: ARCH=native
|
||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
os: linux
|
os: linux
|
||||||
env: ARCH=native
|
env: ARCH=native
|
||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
os: linux
|
os: linux
|
||||||
env: ARCH=mingw32
|
env: ARCH=mingw32
|
||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
os: linux
|
os: linux
|
||||||
env: ARCH=mingw64
|
env: ARCH=mingw64
|
||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
|
|
||||||
script:
|
script:
|
||||||
"./scripts/travis"
|
"./scripts/travis"
|
||||||
|
@ -21,9 +21,6 @@ if [ "x$ARCH" = "xnative" ]; then
|
|||||||
make
|
make
|
||||||
make test
|
make test
|
||||||
else
|
else
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y python-software-properties
|
|
||||||
sudo apt-add-repository -y ppa:kalakris/cmake
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y cmake ninja-build
|
sudo apt-get install -y cmake ninja-build
|
||||||
cmake -GNinja ..
|
cmake -GNinja ..
|
||||||
@ -38,10 +35,6 @@ else
|
|||||||
export CC=$CPU-w64-mingw32-gcc
|
export CC=$CPU-w64-mingw32-gcc
|
||||||
|
|
||||||
if [ -z $(which $CC) ]; then
|
if [ -z $(which $CC) ]; then
|
||||||
# Update Ubuntu 12.04 with current mingw toolchain
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y python-software-properties
|
|
||||||
sudo apt-add-repository -y ppa:tobydox/mingw-x-precise
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y $ARCH-x-gcc make
|
sudo apt-get install -y $ARCH-x-gcc make
|
||||||
export PATH=$PATH:/opt/$ARCH/bin
|
export PATH=$PATH:/opt/$ARCH/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user