Skip to content

Commit

Permalink
Kick-off dependent tests after success in Travis
Browse files Browse the repository at this point in the history
do this only for pull requests
  • Loading branch information
atodorov committed Oct 25, 2017
1 parent b5c83c6 commit 04ad0d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ after_success:
s3cmd sync --access_key="$ARTIFACTS_KEY" --secret_key="$ARTIFACTS_SECRET" -v -P ./importer/dist/build/export/export s3://weldr/$TARGET_DIR/export
s3cmd sync --access_key="$ARTIFACTS_KEY" --secret_key="$ARTIFACTS_SECRET" -v -P ./schema.sql s3://weldr/$TARGET_DIR/schema.sql
# kick off other tests which depend on the artifacts above
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
./kick_dependent_tests.sh
fi
notifications:
email:
on_failure: change
Expand Down

0 comments on commit 04ad0d8

Please sign in to comment.