2016-09-26 19:56:13 +03:00
|
|
|
dependencies:
|
|
|
|
pre:
|
2016-10-27 18:54:56 +03:00
|
|
|
- pip install mozdownload mozinstall
|
|
|
|
- mozdownload --version 46.0 --destination firefox.tar.bz2
|
|
|
|
- mozinstall firefox.tar.bz2
|
2016-09-26 19:56:13 +03:00
|
|
|
- sudo apt-get install expect tightvncserver
|
|
|
|
- ulimit -S -n 2048;
|
|
|
|
- mkdir -p $HOME/.vnc
|
|
|
|
- bash tests/ci/setvncpass.sh
|
|
|
|
override:
|
|
|
|
- cp server/config/local.json-dist server/config/local.json
|
|
|
|
- npm i --production
|
2016-10-19 17:42:37 +03:00
|
|
|
- CONFIG_FILES=server/config/local.json,server/config/production.json,tests/ci/config_circleci.json node_modules/.bin/grunt build
|
2016-09-26 19:56:13 +03:00
|
|
|
- nohup bash -c "CONFIG_FILES=server/config/local.json,server/config/production.json,tests/ci/config_circleci.json node_modules/.bin/grunt serverproc:dist &"
|
|
|
|
- npm install intern@3.1.1 bower zaach/node-XMLHttpRequest.git#onerror firefox-profile@0.3.12 request@2.74.0 sync-exec@0.6.2 convict@1.4.0
|
|
|
|
- wget http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar
|
|
|
|
- DISPLAY=:1 nohup bash -c "java -jar selenium-server-standalone-2.53.0.jar &"
|
|
|
|
- tightvncserver :1
|
|
|
|
post:
|
|
|
|
- curl 127.0.0.1:3030
|
2016-12-10 04:16:52 +03:00
|
|
|
- /home/ubuntu/fxa-content-server/firefox/firefox --version
|
2016-09-26 19:56:13 +03:00
|
|
|
|
|
|
|
machine:
|
|
|
|
node:
|
|
|
|
version: 4
|
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
2016-12-10 04:16:52 +03:00
|
|
|
- npm run test-circle firefoxBinary=/home/ubuntu/fxa-content-server/firefox/firefox:
|
2016-10-19 17:42:37 +03:00
|
|
|
parallel: true
|