QGIS/.travis.yml
Larry Shaffer 33265e2245 [travis] Ensure use of standard (legacy) infrastructure
- For 'sudo apt' commands on Linux (Mac unaffected)
- Seems already set for main QGIS repo, but now needed when adding
  Travis CI setup to a personal fork ("For repos we recognize on or
  after 2015-01-01, linux builds are sent to our container-based
  infrastructure")
- This could probably be overcome using the Travis 'apt' plugin so that
  container-based infrastructure could be used
  http://docs.travis-ci.com/user/apt/

http://docs.travis-ci.com/user/workers/standard-infrastructure/
http://docs.travis-ci.com/user/workers/container-based-infrastructure/
2015-10-06 15:36:01 -06:00

48 lines
833 B
YAML

language: cpp
sudo: required
os:
- linux
- osx
compiler:
- clang
git:
depth: 30
cache: apt
notifications:
irc: "chat.freenode.net#qgis-test"
on_failure: change
on_success: change
skip_join: true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/467e3aff72e344d1dae3
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # default: never
addons:
postgresql: "9.1"
before_install:
- ./ci/travis/${TRAVIS_OS_NAME}/before_install.sh
install:
- ./ci/travis/${TRAVIS_OS_NAME}/install.sh
before_script:
- ./ci/travis/${TRAVIS_OS_NAME}/before_script.sh
script:
- ./ci/travis/${TRAVIS_OS_NAME}/script.sh
after_script:
- ./ci/travis/${TRAVIS_OS_NAME}/after_script.sh