2018-07-30 09:06:57 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- CC_TEST_REPORTER_ID=38ad11f95f28b1d33c9c31467f9eb5eb4e336e4e0e36046c86a4f7ff6e4c3977
|
2017-10-21 00:27:47 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2019-10-31 22:20:34 +00:00
|
|
|
- "1.13"
|
2020-02-28 04:52:45 +00:00
|
|
|
- "1.14"
|
2019-06-18 09:08:26 +00:00
|
|
|
- master
|
2017-10-21 00:27:47 +00:00
|
|
|
before_install:
|
2017-10-31 00:53:00 +00:00
|
|
|
- cd $HOME
|
2019-06-23 05:59:54 +00:00
|
|
|
- git clone https://github.com/Azareal/Gosora gosora
|
|
|
|
- cd gosora
|
2018-07-30 08:36:58 +00:00
|
|
|
- chmod -R 0777 .
|
2018-06-17 07:39:31 +00:00
|
|
|
- mv ./config/config_example.json ./config/config.json
|
2017-10-30 23:34:38 +00:00
|
|
|
- ./update-deps-linux
|
2018-04-23 08:38:25 +00:00
|
|
|
- ./dev-update-travis
|
2019-02-23 06:29:19 +00:00
|
|
|
- mv ./experimental/plugin_sendmail.go ..
|
2017-10-30 23:34:38 +00:00
|
|
|
install: true
|
2018-07-30 09:06:57 +00:00
|
|
|
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
|
2017-10-31 00:33:14 +00:00
|
|
|
script: ./run-linux-tests
|
2018-07-30 09:06:57 +00:00
|
|
|
after_script:
|
|
|
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
2017-10-21 00:27:47 +00:00
|
|
|
addons:
|
2019-02-23 07:33:18 +00:00
|
|
|
mariadb: '10.3'
|