aboutsummaryrefslogblamecommitdiffstats
path: root/.travis.yml
blob: 4e4f8774300b5cadd3f288e79c66ba6dc460a754 (plain) (tree)
1
2
3
4
5
6
7
8
9
                



                    
                       


                       
              



                                                                       

                                               
                                        


                                                                                                                                                                  


            

                         

                    


                      



                                  
                   
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:
    - [email protected]
  irc:
    channels:
      - "irc.freenode.org#erlware"
    use_notice: true
    skip_join: true