Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

40 lines
1.0 KiB

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