Forked from penghou620/CircleCI submodule example
Last active
October 29, 2018 13:47
-
-
Save yoshuawuyts/56b51cc9bc2460bc82f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine: | |
node: | |
version: 0.10.35 | |
dependencies: | |
pre: | |
- sudo apt-get install -y libpoppler-glib-dev libpoppler-glib8 libcairo2-dev libcairo2 | |
- sudo apt-get install -y libpq-dev | |
database: | |
override: | |
- psql -c 'create database test;' -U postgres | |
- psql -U postgres -c "create extension postgis" | |
checkout: | |
post: | |
- git submodule init | |
- git submodule update | |
test: | |
pre: | |
- cd server; npm install | |
- cd server; NODE_ENV=test node ./bin/www: | |
background: true | |
- sleep 10 | |
override: | |
- npm test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this is for CircleCI v. 1.0
will not work with v 2.0 and above