Commit 07da4dee authored by Peter Parente's avatar Peter Parente

Fix cron test behavior

parent 63359c86
...@@ -8,7 +8,7 @@ services: ...@@ -8,7 +8,7 @@ services:
jobs: jobs:
include: include:
- stage: test-pr - stage: diff-test
install: install:
- pip install --upgrade pip - pip install --upgrade pip
- make dev-env - make dev-env
...@@ -22,12 +22,22 @@ jobs: ...@@ -22,12 +22,22 @@ jobs:
- make dev-env - make dev-env
script: script:
- if [ $(make n-docs-diff DIFF_RANGE=$TRAVIS_COMMIT_RANGE) -ne 0 ]; then make tx-en; fi; - 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: stages:
- name: test-pr - name: diff-test
if: type = pull_request if: type = pull_request
- name: push-tx - name: push-tx
if: type = push AND branch = master if: type = push AND branch = master
- name: full-test
if: type = cron AND branch = master
env: env:
global: global:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment