Files
Phoenix/.travis.yml
Karl-Philipp Richter 0878b0528c Reworked .travis.yml:
* added dist trusty
  * added python 3.4 to both dists (there's been no reason in comments why it's been disabled)
  * added `sudo python build.py install` in order to test installation
2017-02-13 00:11:39 +01:00

73 lines
1.3 KiB
YAML

#
# Travis CI control file for building Phoenix
#
language: python
matrix:
include:
- os: linux
dist: trusty
sudo: required
python: 2.7
- os: linux
dist: precise
sudo: required
python: 2.7
- os: linux
dist: trusty
sudo: required
python: 3.4
- os: linux
dist: precise
sudo: required
python: 3.4
# redundant specification of `sudo` and `python` because of travis-ci.org's way of parsing `.travis.yml`
# Available build steps:
# 1. before_install
# 2. install
# 3. before_script
# 4. script
# 5. after_success or after_failure
# 6. after_script
# 7. OPTIONAL before_deploy
# 8. OPTIONAL deploy
# 9. OPTIONAL after_deploy
addons:
apt:
packages:
- libwebkitgtk-dev
- libjpeg-dev
- libtiff-dev
- libgtk2.0-dev
- libsdl1.2-dev
- libgstreamer-plugins-base0.10-dev
- freeglut3
- freeglut3-dev
- libnotify-dev
install:
- echo "****** travis install step"
- pip install -U pip
- pip install -U -r requirements.txt
- pip list
script:
- echo "****** travis script step"
- python build.py dox
- python build.py build_wx --jobs=4
- python build.py etg --nodoc
- python build.py sip
- python build.py build_py --jobs=4
- sudo python build.py install
# TODO: Add running of the tests