fxa-content-server/circle.yml

31 строка
1.3 KiB
YAML
Исходник Обычный вид История

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
- 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
- CONFIG_FILES=server/config/local.json,server/config/production.json,tests/ci/config_circleci.json node_modules/.bin/grunt build
- 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
- /home/ubuntu/fxa-content-server/firefox/firefox --version
machine:
node:
version: 4
test:
override:
- npm run test-circle firefoxBinary=/home/ubuntu/fxa-content-server/firefox/firefox:
parallel: true