Skip to content

Commit

Permalink
Add build script for travis
Browse files Browse the repository at this point in the history
Two issues with testing builds on travis:

1. Normal log output is too long and results in build getting cancelled
2. Quiet log output is too quiet and results in build getting cancelled
  • Loading branch information
NHellFire committed Oct 18, 2017
1 parent a709dd4 commit 773befa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
while :; do printf .; sleep 300; done & pid=$!
trap "kill -TERM $pid" INT TERM EXIT
make
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: cpp
dist: trusty
sudo: required
script: make -s
script: ./.travis.sh

0 comments on commit 773befa

Please sign in to comment.