-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
27 lines (23 loc) · 905 Bytes
/
.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
sudo: required
dist: xenial
language: go
go:
- "1.12.x"
install:
- if [[ ! -d $GOPATH/src/github.com/skycoin/skycoin-lite ]]; then mkdir -p $GOPATH/src/github.com/skycoin; ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/skycoin/skycoin-lite; fi
- cd $GOPATH/src/github.com/skycoin/skycoin-lite
- go get -t ./...
- go get -u github.com/FiloSottile/vendorcheck
# Install pinned golangci-lint, overriding the latest version install by make install-linters
- VERSION=1.17.1 ./ci-scripts/install-golangci-lint.sh
- cd js && npm install && npm install --global source-map-support
script:
- cd $GOPATH/src/github.com/skycoin/skycoin-lite
- make check
- make build-js-min
- make test-suite-ts
notifications:
email:
# https://github.com/kvld/travisci-telegram TravisCI Telegram Bot integration
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify