aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-11-03 17:02:41 +0100
committerJorge Aparicio <jorge@japaric.io>2018-11-03 17:16:55 +0100
commitc631049efcadca8b07940c794cce2be58fa48444 (patch)
treef6bd73e5c396fc06072557ee965cc59e9c8e3e9f /.travis.yml
parent653338e7997a0cdc5deaed98b1bb5f60006717ed (diff)
v0.4.0
closes #32 closes #33
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml30
1 files changed, 20 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 1d6f3ab..09edbfe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,38 +2,48 @@ language: rust
matrix:
include:
+ # NOTE used to build docs on successful merges to master
- env: TARGET=x86_64-unknown-linux-gnu
- rust: nightly
+ rust: beta
- env: TARGET=thumbv6m-none-eabi
- rust: nightly
- if: branch != master
+ rust: beta
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
- env: TARGET=thumbv7m-none-eabi
+ rust: beta
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
- if: branch != master
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
- - env: TARGET=thumbv7em-none-eabi
+ - env: TARGET=thumbv6m-none-eabi
rust: nightly
- if: branch != master
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
- - env: TARGET=thumbv7em-none-eabihf
+ - env: TARGET=thumbv7m-none-eabi
rust: nightly
- if: branch != master
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
before_install: set -e
install:
- bash ci/install.sh
- - export PATH="$PATH:$PWD/gcc/bin"
+ - export PATH="$PATH:$PWD/qemu"
script:
- bash ci/script.sh
+after_script: set +e
+
after_success:
- bash ci/after-success.sh
-after_script: set +e
+cache: cache
+
+before_cache:
+ - chmod -R a+r $HOME/.cargo;
branches:
only: