File tree 1 file changed +23
-20
lines changed
1 file changed +23
-20
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : rust
3
- matrix :
4
- include :
5
- - rust : stable
6
- env : SCRIPT="test"
7
- - rust : beta
8
- env : SCRIPT="test"
9
- - rust : nightly
10
- env : SCRIPT="test"
11
- - rust : nightly
12
- env : SCRIPT="test --features unstable"
3
+
4
+ rust :
5
+ - nightly
6
+ - beta
7
+ - stable
8
+ - 1.1.0
9
+
10
+ before_script :
11
+ - |
12
+ pip install 'travis-cargo<0.2' --user &&
13
+ export PATH=$HOME/.local/bin:$PATH
14
+
13
15
script :
14
- - cargo $SCRIPT
15
- - cargo doc
16
- after_success : |
17
- [ $TRAVIS_RUST_VERSION = nightly ] &&
18
- [ $TRAVIS_BRANCH = master ] &&
19
- [ $TRAVIS_PULL_REQUEST = false ] &&
20
- echo '<meta http-equiv=refresh content=0;url=ascii/index.html>' > target/doc/index.html &&
21
- pip install --user ghp-import &&
22
- ~/.local/bin/ghp-import -n target/doc &&
23
- git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
16
+ - |
17
+ travis-cargo build &&
18
+ travis-cargo test &&
19
+ travis-cargo --only stable doc
20
+
21
+ after_success :
22
+ - travis-cargo --only stable doc-upload
23
+
24
+ env :
25
+ global :
26
+ secure : ddcWXicVcCooC+Dy8guGruZY2bAU3oyGjrxdC3YNfBYdatEKzW1toAiQyN8SRyZyfoHsbb7lh4YeBfv1rpmTPM6nvHMz9CHMlvED8Y+/QuYoKN2qrNiQ7eQ9xSVhOVlha/GMPSZXxmEIuJVj0Dn1D/S4RWyNMKCJdj2YvybPzOU=
You can’t perform that action at this time.
0 commit comments