Skip to content

Commit

Permalink
Add Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
azawawi committed May 2, 2017
1 parent 7f414a9 commit 2d7b8fd
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
language: perl6

os:
- linux
- osx

perl6:
- 2017.04
- latest

before_install:
- echo $TRAVIS_OS_NAME

install:
- rakudobrew build zef
- zef --depsonly install .
- zef install Test::META
- zef build .

before_script:
# Debian-based libcaca installation
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update ; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y libcaca-dev ; fi

# macOS libcaca installation
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libcaca ; fi

script:
- AUTHOR_TESTING=1 prove -ve "perl6 -Ilib"
- zef install .

0 comments on commit 2d7b8fd

Please sign in to comment.