forked from ditup/ditapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 1.01 KB
/
.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
language: node_js
node_js:
- 7
env:
- NODE_ENV=test CXX="g++-4.8" CC="gcc-4.8"
services:
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- gcc-4.8
- clang
before_install:
- ls -la /var/cache/debconf
- sudo chmod -R 777 /var/cache/debconf
- sudo echo arangodb3 arangodb3/password password somepwd | debconf-set-selections
- sudo echo arangodb3 arangodb3/password_again password somepwd | debconf-set-selections
- wget https://www.arangodb.com/repositories/travisCI/ArangoDB-3.1.7.tar.gz -O /tmp/arangodb.tar.gz
- wget https://www.arangodb.com/repositories/travisCI/setup_arangodb_3.1.7.sh -O ../../setup_arangodb.sh
# - gem update --system
before_script:
- tar -xf /tmp/arangodb.tar.gz -C ../..
- export PATH=$PATH:$PWD/../../arangodb-3.1.7/bin/
- sudo chmod 755 ../../setup_arangodb.sh
- ./../../setup_arangodb.sh
- cp ./config/secret/sample.js ./config/secret/test.js
- npm run init-db-standalone
script:
- npm run lint
- npm test