Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
language: bash
services: docker

build:
- docker build -t lnintegration .
before_script:
- docker build -t lnintegration . > build.log 2>&1
- while sleep 5m; do echo "=====[ $SECONDS seconds, lnintegration still building... ]====="; done &
- time docker run --rm -v $PWD/build:/build lnintegration >> build.log 2>&1
# Killing background sleep loop
- kill %1

after_failure:
# dump the last 2000 lines of our build, and hope the error is in that!
- tail --lines=2000 build.log

after_success:
# Log that the build worked, because we all need some good news
Expand Down