-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
50 lines (49 loc) · 1.23 KB
/
.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
sudo: required
language: node_js
node_js:
- "4.8"
- "4.6"
- "4.4"
- "4.2.2"
- "4.2"
- "0.12"
cache:
- apt
sources:
- trusty
before_install:
- sudo apt-get -qq update
- sudo apt-cache search libboost
# - sudo apt-get install -y libboost-thread1.48.0 libboost-system1.48.0
- npm install -g [email protected]
- npm install express
- npm install supervisor -g
- npm install nconf --save
- npm install syno-upstarter --save
- npm install -g gulp
- npm install -g grunt-cli
- npm install gulp-jshint gulp-concat gulp-uglify gulp-rename --save-dev
- npm install underscore moment path request body-parser basic-auth errorhandler sync-request morgan http method-override
# - npm install
# - mkdir domoticz
# - cd domoticz
# - wget https://releases.domoticz.com/releases/beta/domoticz_linux_x86_64.tgz
# - tar xvzf domoticz_linux_x86_64.tgz
# - wget http://www.e-nef.com/domoticz/mdah/domoticz.db
- cd ..
notifications:
recipients:
slack:
mydomoathome:dYICWN8iWCZFrtlZCyMIVwtw
email:
# on_success: change
on_failure: always
#env:
#after_failure: "cat /home/travis/builds/npm-debug.log"
#install: npm i
before_script:
# - npm i
# - domoticz/domoticz &
- node mdah.js &
script: "grunt"