File tree Expand file tree Collapse file tree 2 files changed +20
-15
lines changed Expand file tree Collapse file tree 2 files changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -38,5 +38,12 @@ install:
38
38
script :
39
39
- ./ci/travis/test.sh
40
40
41
- after_success :
42
- - ./ci/travis/deploy.sh
41
+ deploy :
42
+ - provider : script
43
+ skip-cleanup : true
44
+ script : ./ci/travis/deploy.sh
45
+ on :
46
+ branch : master
47
+ repo : rust-numpy/rust-numpy
48
+ python : 3.6
49
+
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- if [[" $TRAVIS_PULL_REQUEST " = " false" && " $TRAVIS_BRANCH " == " master" && \
4
- " $TRAVIS_RUST_VERSION " == " nightly" ]]; then
5
- cargo doc --all-features --no-deps &&
6
- echo " <meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
7
- git clone https://github.com/davisp/ghp-import.git &&
8
- ./ghp-import/ghp_import.py -n \
9
- -p \
10
- -f \
11
- -m " Documentation upload" \
12
- -r https://" $GH_TOKEN " @github.com/" $TRAVIS_REPO_SLUG .git" \
13
- target/doc &&
14
- echo " Uploaded documentation"
15
- fi
3
+ cargo doc --all-features --no-deps &&
4
+ echo " <meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
5
+ git clone https://github.com/davisp/ghp-import.git &&
6
+ ./ghp-import/ghp_import.py -n \
7
+ -p \
8
+ -f \
9
+ -m " Documentation upload" \
10
+ -r https://" $GH_TOKEN " @github.com/" $TRAVIS_REPO_SLUG .git" \
11
+ target/doc &&
12
+ echo " Uploaded documentation"
13
+
You can’t perform that action at this time.
0 commit comments