Browse Source
Merge pull request #98 from yusufsahinhamza/fix-travis
Fix Travis CI
pull/99/head
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
11 deletions
-
.travis.yml
|
|
@ -1,26 +1,22 @@ |
|
|
|
language: rust |
|
|
|
language: rust |
|
|
|
|
|
|
|
matrix: |
|
|
|
include: |
|
|
|
# works on Precise and Trusty |
|
|
|
- os: linux |
|
|
|
- dist: xenial |
|
|
|
compiler: clang |
|
|
|
|
|
|
|
|
|
|
|
addons: |
|
|
|
apt: |
|
|
|
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7'] |
|
|
|
packages: ['clang-3.7', 'g++-5'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
before_script: |
|
|
|
- export PATH="$PATH:$HOME/.cargo/bin" |
|
|
|
- export PATH="$PATH:$HOME/.cargo/bin" |
|
|
|
|
|
|
|
|
|
|
|
before_install: |
|
|
|
|
|
|
|
- rustup component add rustfmt --toolchain stable-x86_64-unknown-linux-gnu |
|
|
|
- gem install bundler |
|
|
|
- curl -sSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly --profile=minimal |
|
|
|
- export PATH="$PATH:$HOME/.cargo/bin" |
|
|
@ -28,9 +24,9 @@ before_install: |
|
|
|
- sudo apt-get update -qq |
|
|
|
- sudo apt-get install qt59base qt59websockets libgl1-mesa-dev |
|
|
|
- source /opt/qt59/bin/qt59-env.sh |
|
|
|
- chmod +x res/libsodium/buildlibsodium.sh |
|
|
|
|
|
|
|
script: |
|
|
|
|
|
|
|
- qmake -v |
|
|
|
- clang++ -v |
|
|
|
- g++-5 -v |
|
|
@ -40,4 +36,3 @@ script: |
|
|
|
- qmake silentdragon-lite.pro CONFIG+=release -spec linux-g++ |
|
|
|
- res/libsodium/buildlibsodium.sh |
|
|
|
- make CC=gcc-5 CXX=g++-5 -j2 |
|
|
|
|
|
|
|