diff options
| author | DrChat <arkolbed@gmail.com> | 2017-12-14 23:14:46 -0600 |
|---|---|---|
| committer | DrChat <arkolbed@gmail.com> | 2017-12-14 23:14:46 -0600 |
| commit | 9277a21847a3b9a5668cb71f47b33e0502bcb453 (patch) | |
| tree | 145e90668472b002c1ad441118c6560696587367 | |
| parent | 7eab6f859a5fb815bed21eea20f4e1e451591aa1 (diff) | |
[Travis] Try building with gcc-6
| -rw-r--r-- | .travis.yml | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml index 6d42d9d6b..998a24148 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,20 +4,18 @@ #sudo: false language: cpp -compiler: - - clang - # - gcc - os: - linux # - osx -env: - - LINT=true - - BUILD=true CONFIG=Debug - - BUILD=true CONFIG=Release - matrix: + include: + - compiler: gcc + env: C_COMPILER=gcc-6 CXX_COMPILER=g++-6 LINT=true + - compiler: gcc + env: C_COMPILER=gcc-6 CXX_COMPILER=g++-6 BUILD=true CONFIG=Debug + - compiler: gcc + env: C_COMPILER=gcc-6 CXX_COMPILER=g++-6 BUILD=true CONFIG=Release allow_failures: # LLVMGold.so is not installed correctly - env: BUILD=true CONFIG=Release @@ -26,11 +24,12 @@ sudo: required addons: apt: sources: - # - ubuntu-toolchain-r-test + - ubuntu-toolchain-r-test - llvm-toolchain-trusty packages: - clang-3.9 - clang-format-3.9 + - g++-6 - libc++-dev - python3 - libc++abi-dev @@ -42,15 +41,15 @@ git: submodules: false before_script: - - export CXX=clang++-3.9 - - export CC=clang-3.9 + - export CXX=$CXX_COMPILER + - export CC=$C_COMPILER # Dump useful info. - $CXX --version + - python3 --version # Add Vulkan dependencies - wget http://mirrors.kernel.org/ubuntu/pool/universe/v/vulkan/libvulkan1_1.0.42.0+dfsg1-1ubuntu1~16.04.1_amd64.deb - wget http://mirrors.kernel.org/ubuntu/pool/universe/v/vulkan/libvulkan-dev_1.0.42.0+dfsg1-1ubuntu1~16.04.1_amd64.deb - sudo dpkg -i libvulkan1_1.0.42.0+dfsg1-1ubuntu1~16.04.1_amd64.deb libvulkan-dev_1.0.42.0+dfsg1-1ubuntu1~16.04.1_amd64.deb - - python3 --version # Prepare environment (pull dependencies, build tools). - travis_retry ./xenia-build setup |
