-
Notifications
You must be signed in to change notification settings - Fork 2
/
shippable.yml
47 lines (41 loc) · 2.01 KB
/
shippable.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
build_image: damsl/k3-tests
env:
- GHCVER=7.8.3
- CABALVER=1.20
install:
- cd /k3/K3
- git fetch
- git checkout -f $BRANCH
- git reset --hard $COMMIT
- cd /k3/K3-Mosaic
- git pull
script:
- sudo pg_createcluster 9.3 main --start || true
- service postgresql start
- sudo -u postgres psql -c "alter user postgres password 'password'"
- cd /k3/K3
- cabal install --only-dependencies --disable-documentation -j --ghc-options="-O2"
- cabal configure --ghc-options="-O2"
- cabal build
# Begin tests
- source tools/ktrace/env.sh
# Amplab
- ./tools/ktrace/run_test.sh examples/distributed/amplab/q1.k3 tools/ktrace/tests/amplab_q1 local_q1_results
- ./tools/ktrace/run_test.sh examples/distributed/amplab/q2.k3 tools/ktrace/tests/amplab_q2 results
- ./tools/ktrace/run_test.sh examples/distributed/amplab/q3.k3 tools/ktrace/tests/amplab_q3 results
# TPCH Barrier Version
- ./tools/ktrace/run_test.sh examples/sql/tpch/queries/k3/q1.k3 tools/ktrace/tests/tpch_q1 results
- ./tools/ktrace/run_test.sh examples/sql/tpch/queries/k3/barrier-queries/q3.k3 tools/ktrace/tests/tpch_q3 results
- ./tools/ktrace/run_test.sh examples/sql/tpch/queries/k3/barrier-queries/q5_bushy_broadcast_broj2.k3 tools/ktrace/tests/tpch_q5 results
# numerical error: - ./tools/ktrace/run_test.sh examples/sql/tpch/queries/k3/q6.k3 tools/ktrace/tests/tpch_q6 results
# incorrect query plan: - ./tools/ktrace/run_test.sh examples/sql/tpch/queries/k3/q11.k3 tools/ktrace/tests/tpch_q11 results
- ./tools/ktrace/run_test.sh examples/sql/tpch/queries/k3/barrier-queries/q18.k3 tools/ktrace/tests/tpch_q18 results
- ./tools/ktrace/run_test.sh examples/sql/tpch/queries/k3/barrier-queries/q22.k3 tools/ktrace/tests/tpch_q22 results
# Mosaic (must have fusion disabled)
# old k3 file? - ./tools/scripts/run/compile.sh --fstage cexclude=Decl-FE,Decl-FT examples/sql/mosaic/rs.k3
notifications:
email:
recipients:
- k3-developers@googlegroups.com
on_success: change
on_failure: change