forked from Qihoo360/wayne
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (35 loc) · 801 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
28
29
30
31
32
33
34
35
36
matrix:
include:
- language: go
os:
- linux
- osx
go:
- 1.9.x
- 1.10.x
- 1.11.x
env:
- DB_USER=root DB_PASSWD='' DB_TNS='tcp(127.0.0.1:3306)'
service:
- mysql
- rabbitmq
before_install:
- mysql -e 'CREATE DATABASE wayne;'
script:
- pwd
- echo '' > /home/travis/gopath/src/github.com/Qihoo360/wayne/src/backend/conf/dev.conf
- cd src/backend && go run main.go -h
- language: node_js
os:
- linux
- osx
node_js:
- 8.9.4
before_install:
- cd src/frontend && npm install
script:
- # npm run test Wayne 前端测试尚未编排
- npm run build
notifications:
email: