Build fixes
This commit is contained in:
parent
ab1c6cd655
commit
3159e20814
24
.travis.yml
24
.travis.yml
@ -47,9 +47,6 @@ addons:
|
|||||||
- gcc-4.8
|
- gcc-4.8
|
||||||
- g++-4.8
|
- g++-4.8
|
||||||
|
|
||||||
script:
|
|
||||||
- if [ "$RUN_TESTS" = "true" ]; then ./test.sh; fi
|
|
||||||
|
|
||||||
install: |
|
install: |
|
||||||
[ "$RUN_COVERAGE" = "false" ] ||
|
[ "$RUN_COVERAGE" = "false" ] ||
|
||||||
(wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
|
(wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
|
||||||
@ -60,12 +57,15 @@ install: |
|
|||||||
make && make install DESTDIR=../tmp &&
|
make && make install DESTDIR=../tmp &&
|
||||||
cd)
|
cd)
|
||||||
|
|
||||||
after_success:
|
script:
|
||||||
- true && [ "$RUN_COVERAGE" = "true" ] && ./scripts/cov.sh "$KCOV_CMD"
|
- if [ "$RUN_TESTS" = "true" ]; then ./test.sh; fi
|
||||||
- true && [ $TRAVIS_BRANCH = master ] &&
|
- if [ "$RUN_COVERAGE" = "true" ]; then ./scripts/cov.sh "$KCOV_CMD"; fi
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
|
||||||
[ $TRAVIS_RUST_VERSION = stable ] &&
|
after_success: |
|
||||||
./scripts/doc.sh &&
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
pip install --user ghp-import &&
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
/home/travis/.local/bin/ghp-import -n target/doc &&
|
[ $TRAVIS_RUST_VERSION = stable ] &&
|
||||||
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
./scripts/doc.sh &&
|
||||||
|
pip install --user ghp-import &&
|
||||||
|
/home/travis/.local/bin/ghp-import -n target/doc &&
|
||||||
|
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
||||||
|
Loading…
Reference in New Issue
Block a user