fxa-content-server/circle.yml

28 строки
1.2 KiB
YAML
Исходник Обычный вид История

dependencies:
pre:
- 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
- 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
- firefox --version
machine:
node:
version: 4
test:
override:
- ps aux | grep vnc
- node_modules/.bin/intern-runner config=tests/intern_functional_circle fxaAuthRoot=https://fxa-ci.dev.lcip.org/auth fxaEmailRoot=http://restmail.net fxaOauthApp=https://oauth-fxa-ci.dev.lcip.org fxaUntrustedOauthApp=https://321done-fxa-ci.dev.lcip.org fxaProduction=true