# 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 http://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:
  - "./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 https://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"

Correct method of curl request from Travis CI
Correct method of curl request from Travis CI
