forked from dayedepps/smrtflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
47 lines (45 loc) · 1.69 KB
/
circle.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
machine:
environment:
SBT_OPTS: "-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M"
SMRTFLOW_TEST_DB_PORT: 5432
timezone: UTC
java:
version: oraclejdk8
python:
version: 2.7.9
services:
- postgresql
dependencies:
pre:
- git clone https://github.com/PacificBiosciences/PacBioTestData.git
- (cd PacBioTestData && make python)
- wget -q https://dl.bintray.com/sbt/debian/sbt-0.13.11.deb
- sudo dpkg -i sbt-0.13.11.deb
cache_directories:
- "~/.ivy2"
- "~/.sbt"
- "target/resolution-cache"
- "target/streams"
- "project/target/resolution-cache"
- "project/target/streams"
override:
- sbt test:compile
test:
pre:
- psql --version
- sbt sbt-version
- psql --echo-all -v ON_ERROR_STOP=1 -p 5432 --username=postgres -w -f extras/test-db-init.sql
override:
- env PB_TEST_DATA_FILES="`pbdata path`" sbt smrt-server-logging/test
- env PB_TEST_DATA_FILES="`pbdata path`" sbt smrt-common-models/test
- env PB_TEST_DATA_FILES="`pbdata path`" sbt smrt-analysis/test
- env PB_TEST_DATA_FILES="`pbdata path`" sbt smrt-server-base/test
- env PB_TEST_DATA_FILES="`pbdata path`" sbt smrt-server-link/test
- env PB_TEST_DATA_FILES="`pbdata path`" sbt smrt-server-lims/test
- env PB_TEST_DATA_FILES="`pbdata path`" sbt smrt-server-analysis/test
- env PB_TEST_DATA_FILES="`pbdata path`" sbt smrt-server-analysis-internal/test
- env PB_TEST_DATA_FILES="`pbdata path`" sbt smrt-server-sim/test
# Copy test reports to Circle test reports dir
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/target/test-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;