Skip to content

Commit 07da4de

Browse files
committed
Fix cron test behavior
1 parent 63359c8 commit 07da4de

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.travis.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88

99
jobs:
1010
include:
11-
- stage: test-pr
11+
- stage: diff-test
1212
install:
1313
- pip install --upgrade pip
1414
- make dev-env
@@ -22,12 +22,22 @@ jobs:
2222
- make dev-env
2323
script:
2424
- if [ $(make n-docs-diff DIFF_RANGE=$TRAVIS_COMMIT_RANGE) -ne 0 ]; then make tx-en; fi;
25+
- stage: full-test
26+
install:
27+
- pip install --upgrade pip
28+
- make dev-env
29+
script:
30+
- set -e
31+
- make docs
32+
- make build-test-all DARGS="--build-arg TEST_ONLY_BUILD=1"
2533

2634
stages:
27-
- name: test-pr
35+
- name: diff-test
2836
if: type = pull_request
2937
- name: push-tx
3038
if: type = push AND branch = master
39+
- name: full-test
40+
if: type = cron AND branch = master
3141

3242
env:
3343
global:

0 commit comments

Comments
 (0)