Skip to content

Commit

Permalink
Fix travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
azawawi committed May 9, 2017
1 parent 7229bb4 commit 6058c37
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sudo: required

language: perl6

os:
Expand All @@ -10,19 +8,23 @@ perl6:
- 2017.04
- latest

install:
before_install:
- echo $TRAVIS_OS_NAME
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update ; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y libcurl3-dev ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install curl ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then ls /usr/local/lib/ ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then ls /usr/lib/ ; fi

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

script: prove -v -e "perl6 -Ilib" t/
before_script:
# Debian-based libcurl installation
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update ; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y libcurl3-dev ; fi

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

script:
- AUTHOR_TESTING=1 NETWORK_TESTING=1 prove -ve "perl6 -Ilib"
Expand Down

0 comments on commit 6058c37

Please sign in to comment.