File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change 1
1
language : rust
2
- rust :
3
- - stable
4
- - beta
5
- - nightly
6
- matrix :
2
+ jobs :
7
3
allow_failures :
8
4
- rust : nightly
9
- before_install :
10
- - sudo apt-get -qq update
11
- - sudo apt-get install -y cmake
12
- - sudo apt-get install -y libgtk-3-dev
5
+ include :
6
+ - env : TEST_CMD=xvfb-run
7
+ rust : nightly
8
+ - env : TEST_CMD=xvfb-run
9
+ rust : beta
10
+ - env : TEST_CMD=xvfb-run
11
+ rust : stable
12
+ - env : MACOSX_DEPLOYMENT_TARGET=10.7 SKIP_INSTALL=1
13
+ rust : stable
14
+ os : osx
15
+ before_install : |
16
+ [ "x$SKIP_INSTALL" != "x" ] || sudo apt-get -qq update
17
+ [ "x$SKIP_INSTALL" != "x" ] || sudo apt-get install -y libgtk-3-dev
18
+
13
19
script :
14
20
- cd ui-sys
15
21
- cargo build --verbose --tests --examples
16
- - xvfb-run cargo test
22
+ - $TEST_CMD cargo test
17
23
- cd ../iui
18
24
- cargo build --verbose --tests --examples
19
- - xvfb-run cargo test
25
+ - $TEST_CMD cargo test
20
26
after_success : |
21
27
[ $TRAVIS_BRANCH = master ] &&
22
28
[ $TRAVIS_PULL_REQUEST = false ] &&
You can’t perform that action at this time.
0 commit comments