1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-05-09 19:29:30 +08:00
golearn/.travis.yml

24 lines
661 B
YAML
Raw Normal View History

2014-05-17 20:32:40 +01:00
language: go
2020-07-14 23:41:44 +01:00
dist: bionic
go:
2020-07-14 23:41:44 +01:00
- "1.13"
- "1.14"
arch:
- amd64
- arm64
env:
before_install:
- sudo apt-get update -qq
2014-07-18 22:57:49 +01:00
- sudo apt-get install -qq libatlas-base-dev
2020-07-14 23:34:34 +01:00
- cd /tmp && wget https://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
2014-07-18 22:57:49 +01:00
- 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)