diff options
-rw-r--r-- | .travis.yml | 27 | ||||
-rw-r--r-- | TODO | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..336c833 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,27 @@ +# Documentation: http://docs.travis-ci.com/user/languages/julia/ +language: julia +sudo: required +dist: trusty +os: + - linux + - osx +julia: + - release + - nightly + - 0.4 +# Note: deps are tricky! Need full TeX/LaTeX, etc +before_install: + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y python-pyx ; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update > /dev/null ; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install caskroom/cask/brew-cask > /dev/null; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install mactex > /dev/null ; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo pip install PyX ; fi + - python -c "import pyx; print(pyx.__version__)" +notifications: + email: false +# Default test script didn't work +script: + - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi + - julia -e 'Pkg.clone(pwd()); Pkg.build("PyX"); Pkg.test("PyX"; coverage=true)' + @@ -1,3 +1,4 @@ - lots of temporary files (.log, .dvi, etc) get left around. need to somehow tell python to exit cleanly at the end, and maybe also use a different temporary directory. +- travis: figure out how to do both Python2 and Python3 tests |