-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
43 lines (43 loc) · 3.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: node_js
node_js:
- "11.1"
dist: xenial
sudo: false
cache:
yarn: true
directories:
- node_modules
addons:
apt:
sources:
- sourceline: ppa:ubuntu-toolchain-r/test
packages:
- build-essential
before_install:
- echo ${TRAVIS_NODE_VERSION}
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | bash)"
- go env
- go get github.com/golang/dep/cmd/dep
- go get github.com/tcnksm/ghr
- go get github.com/jteeuwen/go-bindata/...
- go get github.com/elazarl/go-bindata-assetfs/...
- export GOPATH=$HOME/gopath
- export PATH=$HOME/gopath/bin:$PATH
- mkdir -p $HOME/gopath/src/github.com/rai-project/mlmodelscope
- rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/rai-project/mlmodelscope/
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/rai-project/mlmodelscope
install:
- cd ${TRAVIS_BUILD_DIR}
- npm install
- npm run bundle
- dep ensure -v
- go build -tags=nogpu
script:
- echo "Skip tests..."
env:
global:
- GIMME_GO_VERSION=1.12
- CGO_ENABLED=0
- secure: AS3v52mn97AFe+8CWZCSDeTiHSvURufMdwUcKjga6PmLxX0NMC3YFMBqnCnrtciZ+nSmFOXc80KJscU+OPJFmAgQOUqd/LMfng6Pcra3I3J3LXQAdC5IryqKr31vDnZSDsNk6Mv0TLHcaajxnRFA7s4EUslWNyNYc1frRRlHTo9lxTAAy2RAy76G9Iltzsj9HWMhy4h2IJTuTio1/rEG6s7dk7UK+3CQtQmS9FyoGHG1Vof4EE2z/KtNnQb38FrWvx16gcoVFaNe2ttnjW4pVnN1vUi3BPTFBt456eT15a6txPscOUS7ALfsjfKj7JRxQsK9Ugp5cs577BSmHKb8pwLH+GG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