forked from HazyResearch/deepdive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (45 loc) · 1.06 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
35
36
37
38
39
40
41
42
43
44
45
language:
- scala
- python
scala:
- "2.10.3"
python:
- "2.7"
install:
# Install linkchecker
- sudo pip install linkchecker --use-mirrors
# Install jekyll for "make serve" local hosting
- gem install jekyll
# install gnuplot
- sudo apt-get install gnuplot
# install bc
- sudo apt-get install bc
jdk:
- openjdk7
- oraclejdk7
sbt_args:
services:
- postgresql
env:
global:
- PGUSER=postgres
- PGPASSWORD=""
- PGPORT=5432
- PGHOST=localhost
- DBNAME=deepdive_test
- LD_LIBRARY_PATH=/tmp/dw_linux/lib:/tmp/dw_linux/lib64:/tmp/dw_linux/lib/numactl-2.0.9
notifications:
email:
- deepdive-dev@lists.stanford.edu
before_script:
- unzip lib/dw_linux.zip -d /tmp/
- psql -c 'create database deepdive_test;' -U postgres
- cd doc/
- make serve # serve to localhost
- cd ..
- sleep 3 # give Web server some time to bind to sockets, etc
script:
# Check both localhost and website
- ./test.sh
- bash ./src/test/bash/linkcheck.sh http://localhost:4000/
- bash ./src/test/bash/linkcheck.sh http://deepdive.stanford.edu/