# to use container-based infrastructure
sudo: false

language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"

# command to install dependencies
addons:
    apt:
        packages:
            - r-base
install:
    - pip install -r dev_requirements.txt --use-mirrors
    - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install mdanalysis; fi

# command to run tests
script:
    - nosetests --with-coverage --cover-package=PBlib,PDBlib test_functions.py test_regression.py

#after_success:

# to use container-based infrastructure
sudo: false

language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"

# command to install dependencies
addons:
    apt:
        packages:
            - r-base
install:
    - pip install --upgrade pip
    - pip install -r dev_requirements.txt
    - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install mdanalysis; fi

# command to run tests
script:
    - nosetests --with-coverage --cover-package=PBlib,PDBlib test_functions.py test_regression.py

#after_success:

Upgrade pip and remove --use-mirrors option
Upgrade pip and remove --use-mirrors option

--use-mirrors option is deprecated
