Skip to content

Commit fcab3ef

Browse files
juancarlostongmikeproeng37
authored andcommitted
refac(ci): Trigger fullstack-compat-test on travis (#242)
1 parent 1140aca commit fcab3ef

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.travis.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,25 @@ script:
4747
- ./gradlew cleanAllModules
4848
- ./gradlew testAllModulesTravis
4949
- if [[ -n $TRAVIS_TAG ]]; then ./gradlew ship; fi
50-
dist: precise
50+
51+
# Integration tests need to run first to reset the PR build status to pending
52+
stages:
53+
- 'Integration tests'
54+
- 'Test'
55+
56+
jobs:
57+
include:
58+
- stage: 'Integration tests'
59+
env:
60+
- SDK=android
61+
- BUILD_NUMBER=$TRAVIS_BUILD_NUMBER
62+
cache: false
63+
language: python
64+
before_install: skip
65+
install:
66+
- "pip install awscli"
67+
before_script:
68+
- "aws s3 cp s3://optimizely-travisci-artifacts/ci/trigger_fullstack-sdk-compat.sh ci/ && chmod u+x ci/trigger_fullstack-sdk-compat.sh"
69+
script:
70+
- "ci/trigger_fullstack-sdk-compat.sh"
71+
after_success: travis_terminate 0

0 commit comments

Comments
 (0)