# Config file for automatic testing at travis-ci.org

language: python
sudo: false

python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"

install:
  - "./requirements.sh"
  - "pip install -e ."
  - "pip install https://github.com/brandon-rhodes/assay/archive/master.zip"
  - "curl -O ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/de405.bsp"
  - "curl -O ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/de421.bsp"
  - "curl -O ftp://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/satellites/jup310.bsp"

script:
  - "pip install unittest2"
  - "assay --batch skyfield.tests"
  - "ln *.bsp skyfield/documentation"
#  - "if [ $TRAVIS_PYTHON_VERSION != 2.6 ] && [ $TRAVIS_PYTHON_VERSION != 3.3 ] ; then make -C skyfield/documentation doctest; fi"

# Config file for automatic testing at travis-ci.org

language: python
sudo: false

python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"

install:
  - "python setup.py sdist"
  - "pip install dist/skyfield-*.tar.gz"
  - "pip install https://github.com/brandon-rhodes/assay/archive/master.zip"
  - "pip install unittest2"
  - "curl -O ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/de405.bsp"
  - "curl -O ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/de421.bsp"
  - "curl -O ftp://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/satellites/jup310.bsp"

script:
  - "mkdir tmp && cd tmp && assay --batch skyfield.tests"

Switch Travis CI to really installing .tar.gz
Switch Travis CI to really installing .tar.gz

Running in-place is dangerous: what if the install process broke?
