Skip to content

Commit

Permalink
Enable travis-ci
Browse files Browse the repository at this point in the history
This skips the legacy integration test suite to not exeed the job time
limit imposed by travis

Signed-off-by: Robert Günzler <robertg@balena.io>
  • Loading branch information
robertgzr committed Jan 14, 2019
1 parent acf966f commit 44bda6c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
@@ -0,0 +1,26 @@
language: go
go:
- 1.10.4
# - 1.11.4

branches:
except:
- gh-pages
- /^(.*)-build-[a-f0-9]{40}$/

sudo: required
services:
- docker

before_install:
- docker version

before_script:
# prevent legacy integration tests from running to not exeed travis job time limit
- sed -i -e '/run_test_integration_legacy_suites$/ s/^/#/' hack/make/.integration-test-helpers

script:
- make test-unit
- make test-integration
- docker build -f Dockerfile.build.x86_64 -t balena-engine-build-x86_64 .
- docker run --rm -v "$(pwd):/balena-engine" balena-engine-build-x86_64 ./build.sh

0 comments on commit 44bda6c

Please sign in to comment.