Skip to content

Commit 9814468

Browse files
yasirfolio3jaeopt
authored andcommitted
ci(benchmarking): Added benchmarking stage (#250)
* Benchmarking stage added.
1 parent a457ff3 commit 9814468

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ os: linux
55
stages:
66
- name: 'Trigger Integration Tests'
77
if: env(RUN_COMPAT_SUITE) = true
8+
- name: 'Benchmarking tests'
89
- name: 'SourceClear and Lint'
910
- name: 'Unit Tests'
1011
- name: 'Prepare for release'
@@ -14,18 +15,24 @@ stages:
1415

1516
jobs:
1617
include:
17-
- stage: 'Trigger Integration Tests'
18+
- &integrationtest
19+
stage: 'Trigger Integration Tests'
1820
language: minimal
1921
os: linux
2022
env:
2123
- SDK=swift
22-
- BUILD_NUMBER=$TRAVIS_BUILD_NUMBER
24+
- BUILD_NUMBER=${TRAVIS_JOB_NUMBER/.}
2325
- TESTAPP_TAG=master
26+
- SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH
2427
cache: false
2528
install:
2629
- mkdir $HOME/travisci-tools && pushd $HOME/travisci-tools && git init && git pull https://$CI_USER_TOKEN@github.com/optimizely/travisci-tools.git && popd
2730
script:
28-
- "$HOME/travisci-tools/fsc-trigger/trigger_fullstack-sdk-compat.sh"
31+
- $HOME/travisci-tools/trigger-script-with-status-update.sh
32+
33+
- <<: *integrationtest
34+
stage: 'Benchmarking tests'
35+
env: SDK=swift FULLSTACK_TEST_REPO=Benchmarking BUILD_NUMBER=${TRAVIS_JOB_NUMBER/.} SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH
2936

3037
- stage: 'SourceClear and Lint'
3138
language: swift

0 commit comments

Comments
 (0)