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