Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
added circle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Mar 3, 2017
1 parent 466f07d commit 2c06139
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ static/vendor
/Profile
/build
/webextension/build
/firefox
34 changes: 34 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
machine:
node:
version: 6.10.0
environment:
RDS_NAME: circle_test
RDS_USERNAME: ubuntu
LOCALHOST_SSL: false
DISPLAY: ":99.0"
PATH: "/home/ubuntu/pageshot/firefox:$PATH"

dependencies:
pre:
# we want firefox nightly in order to install an unsigned pageshot addon
- pip install mozdownload mozinstall
- mozdownload --version latest --type daily --destination firefox.tar.bz2
- mozinstall firefox.tar.bz2
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"

compile:
override:
- make all

test:
override:
- firefox -v
# addon tests
- npm test
# server tests
- node -e 'require("babel-polyfill"); require("./build/server/server");':
background: true
- ./bin/test-request put '{}'

post:
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 2c06139

Please sign in to comment.