forked from etalab/apicarto
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c34795
commit 6fe14b0
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
machine: | ||
node: | ||
version: 4.2 | ||
|
||
environment: | ||
GEOPORTAIL_REFERER: https://apicarto.sgmap.fr | ||
# GEOPORTAIL_KEY is defined in the CircleCI web UI | ||
# REF_DATA_DIR is defined in the CircleCI web UI | ||
|
||
dependencies: | ||
pre: | ||
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y | ||
- sudo apt-get update | ||
- sudo apt-get install -y gdal-bin | ||
post: | ||
- psql -c "CREATE DATABASE apicarto;" -U postgres | ||
- psql -d apicarto -c "CREATE EXTENSION postgis;" -U postgres | ||
- npm config set apicarto:pgUser postgres | ||
- npm config list | ||
- npm run import | ||
- npm install coveralls | ||
|
||
test: | ||
post: | ||
- cat ./coverage/lcov.info | COVERALLS_REPO_TOKEN=eaMJkx2qgoBFZXef0sKFnEuRF7QS7FREP coveralls |