forked from ariesshrimp/humane-society-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (33 loc) · 1018 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: node_js
node_js:
- node
# https://github.com/neo4j/neo4j-javascript-driver/issues/66
jdk:
- oraclejdk8
# https://docs.travis-ci.com/user/trusty-ci-environment/#tl%3Bdr---Using-Trusty
dist: trusty
sudo: required
cache:
directories:
- $HOME/.yarn-cache
env:
- NEO4J_VERSION="3.1.0"
- NODE_ENV="testing"
# https://github.com/travis-ci/travis-ci/issues/3243
before_install:
- sudo apt-get update > /dev/null
- wget dist.neo4j.org/neo4j-community-3.1.0-unix.tar.gz
- tar -xzf neo4j-community-3.1.0-unix.tar.gz
- sudo ls neo4j-community-3.1.0
- neo4j-community-3.1.0/bin/neo4j start
before_script:
# https://github.com/neo4j/neo4j-javascript-driver/issues/66
# need to change the password initially:
- curl -vX POST http://neo4j:neo4j@localhost:7474/user/neo4j/password -d"password=password"
script:
- npm test
after_success:
- bash <(curl -s https://codecov.io/bash)
# https://docs.travis-ci.com/user/notifications/#Email-notifications
notifications:
email: false