This repository has been archived by the owner on Apr 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
54 lines (52 loc) · 2.35 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
46
47
48
49
50
51
52
53
54
dist: trusty
sudo: required
language: java
services:
- postgresql
addons:
postgresql: "9.6"
jdk:
- oraclejdk8
env:
global:
- GH_REF=github.com/FTSRG/ingraph.git
- secure: CQJxAZZwYk65fYp8r1/78Dc/nmiSnmGR+9h+Yss8I2rrdPJ4EFwUQUC8G31FauKsiKDMXlvRf+JeDfRuHe6792Dsj0K1eh5XXlOWDNYlGTUkPuuCINDAA9/vgSCGtcXSM6OUWSEVyZMI5PGVJ3IiOq0abmSGeW6uvduUmGUn8rCPvLfaapiy9H+SuFskfkVE3exVpQTj/EFb0agOYOexvtoV8U0XqPtEP1LOHl4LlkA4iFGA5JwMYGB9AnJs+G1TYHz6qrnHZG8GF73aQR65EP/3uMRDmK4ZRpOI21/vM7eMPYEYjFq1UE0WUCngRthyGTHqAu/zofYwWow06+YMCYYQY5uLDo9VoZ2aw70a2kOZkjVjklJ8GOEE7klNJpr1h5bMAh7zUCA0gTV/YpSG5TyK1oo/rY4CP1fB9kzhI+ywgRESpiAgSDqw4OmvjS/WYCmudQ4q+4pyVGBOVgO35JDefEpn+kGwNRKU3OKAdJMlyHC2meYBz/6+q9g7yvKhu+Rmo4ela6hMP6w4h7yAYfl53HmT/uHsf0XFOoehj99LqJc1yz4rTk1Kl1/x/u70JvmtKNNkxO6g4cCJYyUk6ZSH5w/ZJUvev17KRw3tb8uj0XVGdHpfJwHqFB6bGKd0sZknRVMd2R2krA1HCGGKHKBgPL+mg+CkA3BIrJAK26M=
- POSTFIX: _0_0.csv
cache:
directories:
- $HOME/.gradle/cache
- $HOME/.gradle/wrapper
before_install:
# we re-generate openCypher TCK tests with the actual regressionTest/failingTest classification
- cd opencypher-tests; ./generate-parser-tests.py; cd ..
# we use the install block to stop the build if any command fails
before_script:
- psql -c "ALTER ROLE postgres PASSWORD 'foo'" -U postgres
install:
# - if scripts/travis-tex-run-required.sh ; then sudo apt-get install -qq -y texlive-base texlive-science texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra texlive-xetex latexmk lmodern pgf; fi
- ./gradlew assemble testClasses --stacktrace
script:
# only build and deploy the results if the build is performed on the master branch
# Note: actual tex generation is commented out in generate-and-deploy-report.sh
- if scripts/travis-tex-run-required.sh ; then scripts/generate-and-deploy-report.sh; fi
# Postgres vvv
- chmod 755 ~
- cd cypher-to-sql/ldbc_snb_implementations/postgres/load-scripts
- export PG_CSV_DIR=$(pwd)/../test-data-generated
- cp ../test-data/*.csv $PG_CSV_DIR
- ./convert-csvs.sh
- ./load.sh
- ./load-knows_undirected-table.sh
- cd ../../../..
# Postgres ^^^
- unzip graphs/ldbc-snb-bi/db-sftiny.zip -d graphs/ldbc-snb-bi/
- ./gradlew test --continue --stacktrace
notifications:
slack:
rooms:
- ingraph:6eCcNkZmZXVRr0Z0BLw7qLOv
on_success: change
on_failure: always
email:
on_success: change
on_failure: always