2014-10-04 11:23:23 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2013-04-02 21:15:22 +00:00
|
|
|
language: cpp
|
2013-04-05 22:45:04 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2014-02-13 11:30:53 +00:00
|
|
|
- /openmw-.*$/
|
2013-04-02 21:20:59 +00:00
|
|
|
before_install:
|
2014-10-04 11:23:23 +00:00
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./CI/before_install.linux.sh; fi
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./CI/before_install.osx.sh; fi
|
2013-04-05 22:01:44 +00:00
|
|
|
before_script:
|
2014-10-04 11:23:23 +00:00
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./CI/before_script.linux.sh; fi
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./CI/before_script.osx.sh; fi
|
2013-04-05 22:45:04 +00:00
|
|
|
script:
|
2014-10-04 11:23:23 +00:00
|
|
|
- cd ./build
|
2013-04-05 22:45:04 +00:00
|
|
|
- make -j4
|
|
|
|
after_script:
|
2014-10-04 11:23:23 +00:00
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./openmw_test_suite; fi
|
2013-04-02 21:15:22 +00:00
|
|
|
notifications:
|
|
|
|
recipients:
|
2014-10-04 11:23:23 +00:00
|
|
|
- corrmage+travis-ci@gmail.com
|
2013-04-02 21:15:22 +00:00
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2014-10-21 14:12:33 +00:00
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#openmw"
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
use_notice: true
|