Skip to content

Commit cbb760f

Browse files
msohailhussainMichael Ng
authored andcommitted
ci(srcclr): adding source clear (#154)
1 parent 86062a1 commit cbb760f

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

.travis.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ stages:
88
- 'Lint'
99
- 'Unit test'
1010
- 'Integration tests'
11+
- 'Source clear'
1112
jobs:
1213
include:
1314
- stage: 'Lint'
@@ -16,19 +17,6 @@ jobs:
1617
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.19.0
1718
script:
1819
- $GOPATH/bin/golangci-lint run --out-format=tab --tests=false pkg/...
19-
# - stage: 'Integration Tests'
20-
# merge_mode: replace
21-
# env: SDK=go SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH
22-
# cache: false
23-
# language: minimal
24-
# install: skip
25-
# before_script:
26-
# - mkdir $HOME/travisci-tools && pushd $HOME/travisci-tools && git init && git pull https://[email protected]/optimizely/travisci-tools.git && popd
27-
# script:
28-
# # TODO: Remove sohail/gosdkonly branch specification here, after
29-
# # we can run FSC tests on master: https://optimizely.atlassian.net/browse/OASIS-5425
30-
# - $HOME/travisci-tools/trigger-script-with-status-update.sh sohail/gosdkonly
31-
# after_success: travis_terminate 0
3220
- &test
3321
stage: 'Unit test'
3422
env: GIMME_GO_VERSION=master GIMME_OS=linux GIMME_ARCH=amd64
@@ -58,9 +46,14 @@ jobs:
5846
env: GIMME_GO_VERSION=1.12.x FSC_PATH="/tmp/fsc-repo"
5947
before_script:
6048
- mkdir -p $FSC_PATH
61-
- pushd $FSC_PATH && git init && git fetch --depth=1 https://[email protected]/optimizely/fullstack-sdk-compatibility-suite ${FSC_BRANCH:-master} && git checkout FETCH_HEAD && popd
49+
- pushd $FSC_PATH && git init && git fetch --depth=1 https://[email protected]/optimizely/fullstack-sdk-compatibility-suite ${FSC_BRANCH:-master} && git checkout FETCH_HEAD && popd
6250
install:
6351
- eval "$(gimme)"
6452
script:
65-
- ./scripts/run-fsc-tests.sh -f "$FSC_PATH/features/" -d "$FSC_PATH/features/support/datafiles/" -t "$TAGS"
66-
53+
- ./scripts/run-fsc-tests.sh -f "$FSC_PATH/features/" -d "$FSC_PATH/features/support/datafiles/" -t "$TAGS"
54+
- stage: 'Source clear'
55+
env: GIMME_GO_VERSION=master GIMME_OS=linux GIMME_ARCH=amd64
56+
language: go
57+
addons:
58+
srcclr: true
59+
script: go get -v -d ./...

0 commit comments

Comments
 (0)