1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-04-25 13:48:49 +08:00
golearn/.travis.yml

22 lines
681 B
YAML
Raw Permalink Normal View History

2014-05-17 20:32:40 +01:00
language: go
go:
2020-07-22 19:23:51 +03:00
- 1.13.x
- 1.14.x
2020-07-22 19:38:39 +03:00
env:
2020-07-22 19:29:30 +03:00
# Temporary workaround for Go 1.6+
- GODEBUG=cgocheck=0
before_install:
- sudo apt-get update -qq
2014-07-18 22:57:49 +01:00
- sudo apt-get install -qq libatlas-base-dev
- cd /tmp && wget http://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-1.94.tar.gz && tar xf liblinear-1.94.tar.gz && cd liblinear-1.94 && make lib && sudo install -vm644 linear.h /usr/include && sudo install -vm755 liblinear.so.1 /usr/lib && sudo ln -sfv liblinear.so.1 /usr/lib/liblinear.so
- cd $TRAVIS_BUILD_DIR
2014-05-17 21:48:42 +01:00
install:
2014-05-17 21:50:53 +01:00
- go get github.com/smartystreets/goconvey/convey
- go get -v ./...
2018-06-04 14:32:53 +08:00
2018-06-04 14:44:09 +08:00
script:
2018-06-16 23:11:33 +08:00
- ./coverage.sh
2018-06-04 14:44:09 +08:00
2018-06-04 14:32:53 +08:00
after_success:
- bash <(curl -s https://codecov.io/bash)