-
Notifications
You must be signed in to change notification settings - Fork 59
/
.travis.yml
30 lines (26 loc) · 1.11 KB
/
.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
language: rust
rust:
- stable
- beta
- nightly
os:
- linux
- osx
install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get update -qq && sudo apt-get install -y libxrandr-dev xorg-dev; fi
- cargo install --force cargo-sync-readme
script:
- rustc --version
- cargo --version
- cargo build
- cargo test
- cd $TRAVIS_BUILD_DIR/luminance
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cargo sync-readme -c -f bin --crlf; else cargo sync-readme -c -f bin; fi
- cd $TRAVIS_BUILD_DIR/luminance-derive
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cargo sync-readme -c -f bin --crlf; else cargo sync-readme -c -f bin; fi
- cd $TRAVIS_BUILD_DIR/luminance-glfw
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cargo sync-readme -c -f bin --crlf; else cargo sync-readme -c -f bin; fi
- cd $TRAVIS_BUILD_DIR/luminance-glutin
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cargo sync-readme -c -f bin --crlf; else cargo sync-readme -c -f bin; fi
- cd $TRAVIS_BUILD_DIR/luminance-windowing
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cargo sync-readme -c -f bin --crlf; else cargo sync-readme -c -f bin; fi