Skip to content

Commit

Permalink
Modify TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
pomadchin committed Oct 23, 2018
1 parent fb66e21 commit d5165b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .sbtopts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
-J-Xmx2g
-J-Xms2g
-J-Xss6M
-Dfile.encoding=UTF8
-Djava.awt.headless=true
-Dsun.io.serialization.extendedDebugInfo=true
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
- postgresql

before_script:
- ulimit -c unlimited -S
- docker run -d --restart=always -p 9999:5432 -e POSTGRES_DB=slick_tests quay.io/azavea/postgis:0.1.0
- docker run -d --restart=always --net=host -m 1G --memory-swap -1 --env="MAX_HEAP_SIZE=500M" --env="HEAP_NEWSIZE=100M" --env="CASSANDRA_LISTEN_ADDRESS=127.0.0.1" cassandra:latest
- docker run -d --restart=always -p 8081:80 -v $(pwd)/spark/src/test/resources:/usr/share/nginx/html:ro nginx:stable
Expand All @@ -38,6 +39,11 @@ scala:
- "2.11.12"
- "2.12.7"

before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete

cache:
directories:
- $HOME/.ivy2
Expand Down

0 comments on commit d5165b6

Please sign in to comment.