Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Commit

Permalink
Fix Travis fail for libraries using regex (#3)
Browse files Browse the repository at this point in the history
When running tests on a library with `use "regex"`, they may pass locally if the library is installed, but fail on Travis in the linking step due to "undefined references to pcre2".

[Example.](https://travis-ci.org/EpicEric/pony-mqtt/builds/295242567)

Telling the bash script to always download and build PCRE2 fixes this issue.
  • Loading branch information
EpicEric authored and SeanTAllen committed Oct 31, 2017
1 parent a55017c commit 5b585e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis_install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ then
install-ponyc-master
popd
else
echo "Installing ponyc runtime dependencies..."
download_pcre
echo -e "\033[0;32mInstalling latest ponyc release\033[0m"
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "D401AB61 DBE1D0A2"
echo "deb https://dl.bintray.com/pony-language/ponyc-debian pony-language main" | sudo tee -a /etc/apt/sources.list
Expand Down

0 comments on commit 5b585e1

Please sign in to comment.