Skip to content

Commit

Permalink
Fix cron test behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
parente committed May 5, 2019
1 parent 63359c8 commit 07da4de
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:

jobs:
include:
- stage: test-pr
- stage: diff-test
install:
- pip install --upgrade pip
- make dev-env
Expand All @@ -22,12 +22,22 @@ jobs:
- make dev-env
script:
- if [ $(make n-docs-diff DIFF_RANGE=$TRAVIS_COMMIT_RANGE) -ne 0 ]; then make tx-en; fi;
- stage: full-test
install:
- pip install --upgrade pip
- make dev-env
script:
- set -e
- make docs
- make build-test-all DARGS="--build-arg TEST_ONLY_BUILD=1"

stages:
- name: test-pr
- name: diff-test
if: type = pull_request
- name: push-tx
if: type = push AND branch = master
- name: full-test
if: type = cron AND branch = master

env:
global:
Expand Down

0 comments on commit 07da4de

Please sign in to comment.