language: python
python:
  - "2.7"
install: 
  - pip install --use-mirrors pyparsing
  - pip install matplotlib
  - "python setup.py install"
virtualenv:
  system_site_packages: true
before_install:
  - sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
  - sudo apt-get update -qq
  - pip install numpy
  - pip install scipy
  - pip install scikit-learn
before_script:
  - wget http://downloads.sourceforge.net/project/spglib/spglib/spglib-1.6/spglib-1.6.0.tar.gz
  - tar -xvf spglib-1.6.0.tar.gz
  - cd spglib-1.6.0
  - ./configure
  - make
  - cd python/ase
  - python setup.py install
  - cd ../../..
  - mysql -e 'create database qmdb_dev;'
script:
  - cd qmpy/db
  - python manage.py syncdb --noinput
  - python manage.py test qmpy

language: python
sudo: false
python:
  - "2.7"
install: 
  - pip install --use-mirrors pyparsing
  - pip install matplotlib
  - "python setup.py install"
virtualenv:
  system_site_packages: true
before_install:
  - sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
  - sudo apt-get update -qq
  - pip install numpy
  - pip install scipy
  - pip install scikit-learn
before_script:
  - wget http://downloads.sourceforge.net/project/spglib/spglib/spglib-1.6/spglib-1.6.0.tar.gz
  - tar -xvf spglib-1.6.0.tar.gz
  - cd spglib-1.6.0
  - ./configure
  - make
  - cd python/ase
  - python setup.py install
  - cd ../../..
  - mysql -e 'create database qmdb_dev;'
script:
  - cd qmpy/db
  - python manage.py syncdb --noinput
  - python manage.py test qmpy

Switch to using new build system for Travis CI
Switch to using new build system for Travis CI

Old builds were not completing. Hopefully, a switch to the new build system might help

https://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade