-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
49 lines (49 loc) · 886 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
37
38
39
40
41
42
43
44
45
46
47
48
49
---
branches:
only:
- master
- v2
- /^greenkeeper/.*$/
services:
- mongodb
language: node_js
node_js:
- "lts/*"
- "node"
sudo: required
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- nginx
hosts:
- www.koaton.test
- koaton.test
- koaton.t3st
- origin.koaton.test
cache:
directories:
- node_modules
before_install:
- npm config set spin false
- npm install -g semantic-release
- npm install -g codeclimate-test-reporter
install:
- npm i .
- git clone -b v2 https://github.com/gerard2p/koaton-demoapp.git testingapp
- cd testingapp
- npm i --only=prod
- cd ..
- ln -s . testingapp/node_modules/koaton
script:
- npm run eslint
- npm run cover
after_success:
- npm run export
- npm run codeclimate:report
- npm run semantic-release