forked from evcxr/evcxr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (31 loc) · 1003 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
34
35
dist: xenial
language: rust
env: RUST_BACKTRACE=1
matrix:
include:
- os: linux
rust: 1.46.0
env: TARGET=x86_64-unknown-linux-gnu EXTRA_ARGS=""
- os: linux
rust: nightly
env: TARGET=x86_64-unknown-linux-gnu EXTRA_ARGS=""
- os: osx
rust: stable
env: TARGET=x86_64-apple-darwin EXTRA_ARGS=""
- os: windows
rust: beta
env: TARGET=x86_64-pc-windows-msvc EXTRA_ARGS="--exclude=evcxr_jupyter"
fast_finish: true
install:
# prevent target re-add error from rustup
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TARGET" != "x86_64-unknown-linux-gnu" ]]; then rustup target add $TARGET; fi
- rustup component add rust-src
before_script:
- rustup -V; rustc -V; cargo -V
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then rm "C:/Program Files/Git/usr/bin/sh.exe"; fi
script:
- travis_wait 40 cargo test --release --verbose --all $EXTRA_ARGS
- cargo run --release -p print_performance_info
notifications:
email: