-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
21 lines (21 loc) · 873 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cache: cargo
language: rust
rust:
- stable
- beta
- nightly
jobs:
allow_failures:
- rust: nightly
fast_finish: true
os:
- linux
- osx
before_script:
- curl https://github.com/plotly/react-genome-viewer/raw/master/demo/data/index_test.bam -o $TRAVIS_BUILD_DIR/test/index_test.bam
- curl https://github.com/plotly/react-genome-viewer/raw/master/demo/data/index_test.bam.bai -o $TRAVIS_BUILD_DIR/test/index_test.bam.bai
- curl https://github.com/ingolia/SamTools/raw/master/samtools/test/test-in.bam -o $TRAVIS_BUILD_DIR/test/test-in.bam
- curl https://github.com/ingolia/SamTools/raw/master/samtools/test/test-in.bam.bai -o $TRAVIS_BUILD_DIR/test/test-in.bam.bai
script:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then cargo build --release; fi
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then cargo build --release --target=x86_64-apple-darwin; fi