forked from servo/surfman
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (26 loc) · 744 Bytes
/
.travis.yml
File metadata and controls
31 lines (26 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: rust
rust: nightly
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- libxxf86vm-dev
- libosmesa6-dev
- libgles2-mesa-dev
- gcc-arm-linux-androideabi
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX=g++-4.8; rustup target add arm-linux-androideabi; fi
os:
- linux
- osx
script:
- cargo build --verbose
# We cannot test egl nor glx in Travis' linux
# - cargo test --verbose
# - cargo test --verbose --features test_egl_in_linux
- if [ "$TRAVIS_OS_NAME" != "linux" ]; then cargo test --verbose; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then cargo build --verbose --target=arm-linux-androideabi; fi