@@ -43,32 +43,37 @@ before_deploy:
43
43
- rm -rf target/package/
44
44
- cargo package --verbose
45
45
46
- after_success : |
47
- travis-cargo coveralls --no-sudo --verify -- --features iron-handlers
48
- if [ "$TRAVIS_BRANCH" = master -a "$TRAVIS_PULL_REQUEST" = false -a "$TRAVIS_RUST_VERSION" = stable ]; then
46
+ after_success :
47
+ - |
49
48
set -e
49
+ travis-cargo coverage --no-sudo
50
+ ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/juniper-* --features iron-handlers
51
+
52
+ - |
53
+ if [ "$TRAVIS_BRANCH" = master -a "$TRAVIS_PULL_REQUEST" = false -a "$TRAVIS_RUST_VERSION" = stable ]; then
54
+ set -e
50
55
51
- cargo doc --features iron-handlers
56
+ cargo doc --features iron-handlers
52
57
53
- mkdir -p ~/.ssh
54
- openssl aes-256-cbc -K $encrypted_7258158212d8_key -iv $encrypted_7258158212d8_iv -in _build/travis-juniper.enc -out ~/.ssh/id_rsa -d
55
- chmod 600 ~/.ssh/id_rsa
58
+ mkdir -p ~/.ssh
59
+ openssl aes-256-cbc -K $encrypted_7258158212d8_key -iv $encrypted_7258158212d8_iv -in _build/travis-juniper.enc -out ~/.ssh/id_rsa -d
60
+ chmod 600 ~/.ssh/id_rsa
56
61
57
- git clone --branch gh-pages [email protected] :mhallin/juniper deploy_docs
58
- cd deploy_docs
62
+ git clone --branch gh-pages [email protected] :mhallin/juniper deploy_docs
63
+ cd deploy_docs
59
64
60
- git config user.name 'Juniper Documentation Builder'
61
- git config user.email '[email protected] '
65
+ git config user.name 'Juniper Documentation Builder'
66
+ git config user.email '[email protected] '
62
67
63
- rm -rf *
64
- mv ../target/doc/* .
68
+ rm -rf *
69
+ mv ../target/doc/* .
65
70
66
- echo '<meta http-equiv="refresh" content="0; url=juniper/index.html">' > index.html
71
+ echo '<meta http-equiv="refresh" content="0; url=juniper/index.html">' > index.html
67
72
68
- git add -A *
69
- git commit -qm 'Update documentation for Juniper'
70
- git push -q origin gh-pages
71
- fi
73
+ git add -A *
74
+ git commit -qm 'Update documentation for Juniper'
75
+ git push -q origin gh-pages
76
+ fi
72
77
73
78
deploy :
74
79
provider : releases
0 commit comments