Skip to content

Commit a45a980

Browse files
Fix: Integration tests to work with FSC gitaction (#353)
* added travis again
1 parent 904cd76 commit a45a980

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

.travis.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,25 @@ jobs:
8282
script:
8383
- MYHOST="http://localhost:8080" make test-acceptance
8484

85-
# - stage: 'Trigger FSC Tests'
86-
# if: (branch = master AND type = push) OR type = pull_request OR tag IS present
87-
# env:
88-
# SDK=agent
89-
# SDK_BRANCH=$(if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then echo ${TRAVIS_BRANCH}; else echo "$TRAVIS_PULL_REQUEST_BRANCH"; fi)
90-
# cache: false
91-
# before_install:
92-
# ./scripts/pull_travis_ci_tools.sh
93-
# install: skip
94-
# script:
95-
# - "$HOME/travisci-tools/trigger-script-with-status-update.sh"
85+
- stage: 'Trigger FSC Tests'
86+
if: (branch = master AND type = push) OR type = pull_request OR tag IS present
87+
env:
88+
SDK=agent
89+
SDK_BRANCH=$(if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then echo ${TRAVIS_BRANCH}; else echo "$TRAVIS_PULL_REQUEST_BRANCH"; fi)
90+
EVENT_TYPE=$TRAVIS_EVENT_TYPE
91+
PULL_REQUEST_SLUG=$TRAVIS_PULL_REQUEST_SLUG
92+
PULL_REQUEST_SHA=$TRAVIS_PULL_REQUEST_SHA
93+
GITHUB_REPOSITORY=$TRAVIS_REPO_SLUG
94+
UPSTREAM_REPO=$TRAVIS_REPO_SLUG
95+
UPSTREAM_SHA=$TRAVIS_COMMIT
96+
PULL_REQUEST_NUMBER=$TRAVIS_PULL_REQUEST
97+
TOKEN=$GITHUB_TOKEN
98+
cache: false
99+
before_install:
100+
./scripts/pull_travis_ci_tools.sh
101+
install: skip
102+
script:
103+
- "$HOME/travisci-tools/trigger-script-with-status-update.sh"
96104

97105
- stage: 'Test Build using latest tag (no upload)'
98106
name: linux

0 commit comments

Comments
 (0)