Travis-CI on OSX


Travis allows the use of Mac OSX for your tests. In order to do that you need to include os: osx in the configuration file. (os defaults to linux).

Setting dist: osx is a mistake. It will mean no build is triggered. Unfortunately I did not even see an error message from Travis telling me that my configuration is incorrect.


examples/minimal-osx/.travis.yml
os: osx
language: minimal
script: ./run.sh

before_script: chmod +x run.sh

examples/minimal-osx/run.sh
set -e

echo Hello World
python -V
python3 -V
ruby -v
perl -v
docker -v
git --version
lsb_release -a
uname -a

Build environments