Add Travis-ci control file

This commit is contained in:
Robin Dunn
2015-08-10 23:50:46 -07:00
parent cc52d6c3fa
commit 5bfcd3ceda

65
.travis.yml Normal file
View File

@@ -0,0 +1,65 @@
#
# Travis CI control file for building Phoenix
#
language: python
python:
- "2.7"
# TODO: Can we add "3.4" here and have travis do both?
sudo: false
notifications:
email:
- travis-ci@enthought.com
# 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
# So install them in this step instead.
install:
- echo "****** travis install step"
#- pip install sphinx # Add this if building of the docs is added in the next section
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
# TODO: Add running of the tests
after_failure:
- echo "****** travis after_failure step"
- ls -al bin
- if [ -e bin/sip-4.16.7-linux ]; then file bin/sip-4.16.7-linux; ldd bin/sip-4.16.7-linux; fi