gosora/.travis.yml

26 lines
745 B
YAML
Raw Normal View History

env:
global:
- CC_TEST_REPORTER_ID=38ad11f95f28b1d33c9c31467f9eb5eb4e336e4e0e36046c86a4f7ff6e4c3977
language: go
go:
- "1.10"
- master
before_install:
2017-10-31 00:53:00 +00:00
- cd $HOME
- git clone https://github.com/Azareal/Gosora
- cd Gosora
2018-07-30 07:53:11 +00:00
- chmod -R 0755 .
2018-06-17 07:39:31 +00:00
- mv ./config/config_example.json ./config/config.json
- ./update-deps-linux
- ./dev-update-travis
install: true
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script: ./run-linux-tests
after_script:
- ./cc-test-reporter format-coverage --input-type gocov cover.out
- ./cc-test-reporter upload-coverage
addons:
mariadb: '10.0'