language: erlang matrix: include: - os: linux sudo: required otp_release: 17.5 - os: osx sudo: required language: generic before_script: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi ## should eventually use a tap that has previous erlang versions here ## as this only uses the latest erlang available via brew - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install erlang; fi - wget https://s3.amazonaws.com/rebar3/rebar3 - chmod +x rebar3 script: "./rebar3 update && ./rebar3 ct" after_failure: ## Useful for troubleshooting to view test logs - find _build/test/logs/ct_run*/lib*logs/run*/log_private/*-output*/*/log -type f -name "erlang*" -exec ls -1rt "{}" \+ | xargs -I % sh -c 'echo "\n\n%"; cat %' branches: only: - master addons: hostname: travis.dev hosts: - travis.dev notifications: email: - core@erlware.org irc: channels: - "irc.freenode.org#erlware" use_notice: true skip_join: true