2014-08-02 21:10:10 +04:00
|
|
|
language: node_js
|
2014-08-02 21:28:22 +04:00
|
|
|
node_js:
|
|
|
|
- "0.10"
|
2014-08-02 21:49:00 +04:00
|
|
|
env:
|
2015-01-10 02:49:51 +03:00
|
|
|
- DISPLAY=:99.0
|
2014-08-02 21:49:00 +04:00
|
|
|
before_script:
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
2014-08-05 05:10:26 +04:00
|
|
|
- npm install casperjs
|
2015-01-13 04:20:04 +03:00
|
|
|
- wget -P /tmp/j2me.js -N https://ftp.mozilla.org/pub/mozilla.org/labs/j2me.js/slimerjs-0.10.0pre-2014-12-17.zip
|
|
|
|
- unzip -d /tmp /tmp/j2me.js/slimerjs-0.10.0pre-2014-12-17.zip
|
2015-01-10 02:49:51 +03:00
|
|
|
- export PATH=$PATH:/tmp/slimerjs-0.10.0pre
|
2015-01-13 04:20:04 +03:00
|
|
|
- wget -P /tmp/j2me.js -N https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/31.0/runtimes/xulrunner-31.0.en-US.linux-x86_64.tar.bz2
|
|
|
|
- tar x -C /tmp -f /tmp/j2me.js/xulrunner-31.0.en-US.linux-x86_64.tar.bz2
|
2015-01-11 03:12:33 +03:00
|
|
|
- export SLIMERJSLAUNCHER=/tmp/xulrunner/xulrunner
|
2015-01-27 22:11:41 +03:00
|
|
|
- wget -P /tmp/j2me.js -N https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/36.0b1-candidates/build1/jsshell-linux-x86_64.zip
|
|
|
|
- unzip -d /tmp/js /tmp/j2me.js/jsshell-linux-x86_64.zip
|
|
|
|
- export PATH=$PATH:/tmp/js
|
2014-08-02 21:10:10 +04:00
|
|
|
script:
|
2014-08-05 05:27:31 +04:00
|
|
|
- make test
|
2015-01-13 03:07:31 +03:00
|
|
|
sudo: false
|
2015-01-13 04:20:04 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
- /tmp/j2me.js
|
2015-02-07 00:22:50 +03:00
|
|
|
notifications:
|
2015-02-13 05:07:24 +03:00
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.mozilla.org#j2mejs"
|
|
|
|
template:
|
2015-02-13 05:16:29 +03:00
|
|
|
- "%{repository_slug} - %{commit_message} - %{result} - %{build_url}"
|
2015-02-13 05:07:24 +03:00
|
|
|
use_notice: true
|
|
|
|
skip_join: true
|