forked from hecrj/coffee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 902 Bytes
/
.travis.yml
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
31
32
33
language: rust
rust:
- stable
- beta
- nightly
os:
- linux
- osx
- windows
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get -qq update
sudo apt-get install -y libudev-dev
fi
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
mkdir glslang
cd glslang
wget https://github.com/KhronosGroup/glslang/releases/download/7.11.3214/glslang-master-linux-Release.zip
unzip -u -q glslang-master-linux-Release.zip
cd ..
export PATH=${TRAVIS_BUILD_DIR}/glslang/bin:$PATH
glslangValidator --version
fi
matrix:
allow_failures:
- rust: nightly
fast_finish: true
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod +x spirvtest && ./spirvtest; fi
- cargo test --verbose --features opengl
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cargo test --verbose --features vulkan --release; fi