language: python
python:
  - "2.6"
  - "2.7"
  - "3.6"
matrix:
  allow_failures:
    - python: "3.6"
  fast_finish: true

# use the mysql service
services:
  - mysql

# Route build to container-based infrastructure
sudo: false
# Cache the dependencies installed by pip
cache: pip

# Install defaults to "pip install -r requirements.txt"

# Commands that prepare things for the test
before_script:
  # create an empty mysql database
  - mysql -u root -e "create database apel_rest"
  - mysql -u root apel_rest < schemas/10-cloud.sql
  - export PYTHONPATH=$PYTHONPATH:`pwd -P`

# Command to run tests
script: coverage run --source='.' manage.py test

after_success: coveralls

language: python
python:
  - "2.6"
  - "2.7"
  - "3.6"
matrix:
  allow_failures:
    - python: "3.6"
  fast_finish: true

# use the mysql service
services:
  - mysql

# Route build to container-based infrastructure
sudo: false
# Cache the dependencies installed by pip
cache: pip

install:
  - pip install -r requirements.txt
  - pip install -r test_requirements.txt

# Commands that prepare things for the test
before_script:
  # create an empty mysql database
  - mysql -u root -e "create database apel_rest"
  - mysql -u root apel_rest < schemas/10-cloud.sql
  - export PYTHONPATH=$PYTHONPATH:`pwd -P`

# Command to run tests
script: coverage run --source='.' manage.py test

after_success: coveralls

Change to also install test_requirements.txt
Change to also install test_requirements.txt

- so the tests continue to pass
