-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #862 from andrewdavidmackenzie/flow-861
- Loading branch information
Showing
46 changed files
with
237 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,46 +34,40 @@ addons: | |
packages: | ||
- zmq | ||
|
||
# Docs are only built and deployed in "cron" builds - so only prepare that when needed | ||
# Doc building tools are needed on linux with stable rust | ||
before_install: | ||
- make no-book-config | ||
- | | ||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" && "$TRAVIS_EVENT_TYPE" == "cron" ]]; then | ||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then | ||
make book-config | ||
fi | ||
# Docs are only built and deployed in "cron" builds on linux with rust stable | ||
# Docs are only built on linux with stable rust | ||
script: | ||
- | | ||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]]; then | ||
# Build the docs nightly | ||
travis_wait 50 make docs | ||
else | ||
travis_wait 50 make clippy build test | ||
fi | ||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then | ||
travis_wait 50 make clippy build test docs | ||
else | ||
if [[ "$TRAVIS_EVENT_TYPE" != "cron" ]]; then | ||
travis_wait 50 make clippy test | ||
fi | ||
travis_wait 50 make clippy test | ||
fi | ||
# Docs are only built and deployed in "cron" builds on linux with rust stable | ||
# Docs are only on linux builds of master branch with stable rust | ||
deploy: | ||
provider: pages | ||
skip_cleanup: true | ||
github-token: $GITHUB_PAGES_TOKEN | ||
local-dir: target/html | ||
keep_history: true | ||
allow_empty_commit: true # Avoid deploy fail on empty commit if nothing has changed in CRON deploy | ||
allow_empty_commit: true # Avoid deploy fail on empty commit if nothing has changed (CRON builds) | ||
on: | ||
branch: master | ||
condition: $TRAVIS_OS_NAME == "linux" && $TRAVIS_RUST_VERSION == "stable" && $TRAVIS_EVENT_TYPE == "cron" | ||
condition: $TRAVIS_OS_NAME == "linux" && $TRAVIS_RUST_VERSION == "stable" | ||
|
||
notifications: | ||
email: | ||
- [email protected] | ||
|
||
# avoid measuring coverage on CRON builds, only measure on non-CRON linux builds with stable rust | ||
after_success: | | ||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" && "$TRAVIS_EVENT_TYPE" != "cron" ]]; then | ||
FLOW_LIB_PATH=$TRAVIS_BUILD_DIR,$TRAVIS_BUILD_DIR/flowr/src/lib make coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.