forked from pinnamur/appc-platform-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 1 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
language: node_js
sudo: false
node_js:
- '0.12'
env: APPC_ENV=development
before_script:
- npm cache clean
- npm install -g grunt-cli
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget http://selenium-release.storage.googleapis.com/2.44/selenium-server-standalone-2.44.0.jar
- java -jar selenium-server-standalone-2.44.0.jar > /dev/null &
- sleep 5
script:
- npm test
- grunt cover
before_install:
- openssl aes-256-cbc -K $encrypted_966551a5d772_key -iv $encrypted_966551a5d772_iv
-in development.js.enc -out test/conf/development.js -d
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile
--background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
deploy:
provider: npm
email: npmjs@appcelerator.com
api_key:
secure: K18mPmHWVnAXONheZ1u6XO+FdaK9ZKWvuPgGmV4bJmyP+t77Hgpdwh4m7MBxpAsQ2uU8nuaV8MrQpG+vfNv6WQLlulUewgA3jHI5QgJC639GTGVg2U3IyRfPOzn+/1A7aEeOLNyRcRhjRuycKdarys/nJ+O+VZVQVJdtthOG3io=
on:
tags: true
repo: appcelerator/appc-platform-sdk