forked from ramboxapp/community-edition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.04 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
language: node_js
sudo: false
os:
- linux
- osx
branches:
only:
- master
node_js:
- '4.4.4'
cache:
directories:
- node_modules
addons:
apt:
packages:
- xvfb
env:
- SENCHA_CMD_VERSION="6.1.2.15"
- SENCHA_EXT_VERSION="5.1.1.451"
install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
before_script:
- wget http://cdn.sencha.com/cmd/$SENCHA_CMD_VERSION/no-jre/SenchaCmd-$SENCHA_CMD_VERSION-linux-amd64.sh.zip
- unzip -q SenchaCmd-$SENCHA_CMD_VERSION-linux-amd64.sh.zip
- chmod +x SenchaCmd-$SENCHA_CMD_VERSION-linux-amd64.sh
- ./SenchaCmd-$SENCHA_CMD_VERSION-linux-amd64.sh --mode unattended
script:
- npm run sencha:compile
- npm run pack:linux64
- npm test
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/0f214eb0d0017d3c5561
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always