Skip to content

Commit

Permalink
Add TravisCI integration
Browse files Browse the repository at this point in the history
Move all testsing to 'run-tests' script and use it for both Travis and
Rultor.

#8
  • Loading branch information
extsoft committed Aug 17, 2017
1 parent 91cbba2 commit 2c9ca94
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ docker:
merge:
fast-forward: only
rebase: true
script: |-
bats $PWD
pdd --source=$(pwd) --verbose --file=/dev/null
script: ./run-tests
release:
script: |-
echo "Release ${tag}"
Expand Down
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sudo: required
language: bash
services: docker
script: docker run -t --rm -v $PWD:/src -w /src extsoft/rultor-runtime:r24b04p0 ./run-tests
notifications:
email: false
4 changes: 4 additions & 0 deletions run-tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash -e

bats $PWD
pdd --source=$(pwd) --verbose --file=/dev/null

0 comments on commit 2c9ca94

Please sign in to comment.