Skip to content
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,24 @@ after_failure:
# Integration tests need to run first to reset the PR build status to pending
stages:
- 'Integration tests'
- 'Benchmarking tests'
- 'Test'

jobs:
include:
- stage: 'Integration tests'
- &integrationtest
stage: 'Integration tests'
merge_mode: replace
env: SDK=java
env: SDK=java SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH
cache: false
language: minimal
before_install: skip
install: skip
before_script:
- mkdir $HOME/travisci-tools && pushd $HOME/travisci-tools && git init && git pull https://$CI_USER_TOKEN@github.com/optimizely/travisci-tools.git && popd
script:
- "$HOME/travisci-tools/fsc-trigger/trigger_fullstack-sdk-compat.sh"
- $HOME/travisci-tools/trigger-script-with-status-update.sh
after_success: travis_terminate 0
- <<: *integrationtest
stage: 'Benchmarking tests'
env: SDK=java FULLSTACK_TEST_REPO=Benchmarking SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH