File tree Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Original file line number Diff line number Diff line change 8
8
- ' Lint'
9
9
- ' Unit test'
10
10
- ' Integration tests'
11
+ - ' Source clear'
11
12
jobs :
12
13
include :
13
14
- stage : ' Lint'
16
17
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.19.0
17
18
script :
18
19
- $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
32
20
- &test
33
21
stage : ' Unit test'
34
22
env : GIMME_GO_VERSION=master GIMME_OS=linux GIMME_ARCH=amd64
58
46
env : GIMME_GO_VERSION=1.12.x FSC_PATH="/tmp/fsc-repo"
59
47
before_script :
60
48
- 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
62
50
install :
63
51
- eval "$(gimme)"
64
52
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 ./...
You can’t perform that action at this time.
0 commit comments