travis: move deploy job into docs stage
@@ -24,12 +24,6 @@ matrix:
if: branch = development
name: RFC documentation
script: cd RFC && mdbook test && mdbook build
- - stage: build
- name: Tari source code
- script:
- - cargo fmt --all -- --check
- - cargo test --all
-
# Deploy RFC docs for github pages
deploy:
provider: pages
@@ -38,5 +32,8 @@ deploy:
local-dir: book
keep-history: false
target-branch: gh-pages
- on:
- branch: development
+ - stage: build
+ name: Tari source code
+ script:
+ - cargo fmt --all -- --check
+ - cargo test --all
