Skip to content

Fix: Integration tests to work with FSC gitaction #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 19 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,25 @@ jobs:
script:
- MYHOST="http://localhost:8080" make test-acceptance

# - stage: 'Trigger FSC Tests'
# if: (branch = master AND type = push) OR type = pull_request OR tag IS present
# env:
# SDK=agent
# SDK_BRANCH=$(if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then echo ${TRAVIS_BRANCH}; else echo "$TRAVIS_PULL_REQUEST_BRANCH"; fi)
# cache: false
# before_install:
# ./scripts/pull_travis_ci_tools.sh
# install: skip
# script:
# - "$HOME/travisci-tools/trigger-script-with-status-update.sh"
- stage: 'Trigger FSC Tests'
if: (branch = master AND type = push) OR type = pull_request OR tag IS present
env:
SDK=agent
SDK_BRANCH=$(if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then echo ${TRAVIS_BRANCH}; else echo "$TRAVIS_PULL_REQUEST_BRANCH"; fi)
EVENT_TYPE=$TRAVIS_EVENT_TYPE
PULL_REQUEST_SLUG=$TRAVIS_PULL_REQUEST_SLUG
PULL_REQUEST_SHA=$TRAVIS_PULL_REQUEST_SHA
GITHUB_REPOSITORY=$TRAVIS_REPO_SLUG
UPSTREAM_REPO=$TRAVIS_REPO_SLUG
UPSTREAM_SHA=$TRAVIS_COMMIT
PULL_REQUEST_NUMBER=$TRAVIS_PULL_REQUEST
TOKEN=$GITHUB_TOKEN
cache: false
before_install:
./scripts/pull_travis_ci_tools.sh
install: skip
script:
- "$HOME/travisci-tools/trigger-script-with-status-update.sh"

- stage: 'Test Build using latest tag (no upload)'
name: linux
Expand Down