-
Notifications
You must be signed in to change notification settings - Fork 35
/
.travis.yml
51 lines (42 loc) · 861 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
50
51
---
language: node_js
node_js:
- "10"
dist: xenial
addons:
chrome: stable
cache:
yarn: true
directories:
- $HOME/.npm
env:
global:
- JOBS=1
- PORT=6849
- BROWSER=Chrome
addons:
apt:
packages:
- google-chrome-stable
install:
- yarn install
- bower install
- mkdir -p tmp && cd tmp
- wget http://www.webdav.org/neon/litmus/litmus-0.13.tar.gz
- tar -zxf litmus-0.13.tar.gz
- cd litmus-0.13
- sed -i -e "s/T(propfind_invalid2),//g" src/props.c # we're a bit more lax than the official dav spec, so we let this slide
- ./configure && make
- cd ../..
before_script:
- npm run build
- node app.js &> /dev/null &
branches:
only:
- master
script:
- yarn lint:hbs
- yarn lint:js
- yarn test
- npm run test-server
- cd tmp/litmus-0.13 && make URL=http://127.0.0.1:6849/remote.php/webdav check