language: python
dist: trusty
sudo: required
python:
  - "3.5"
  - "3.6"
  - "3.7-dev"
before_install:
  - sudo dpkg --add-architecture i386
  - sudo apt-get update
  - sudo apt-get install --no-install-recommends -y wine
  - pip install nbval matplotlib git+https://github.com/thedataincubator/expectexception.git@master notebook
install:
  - pip install -e .[test]
script:
  - pytest --cov -rfsxEX
  - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then ./scripts/test_notebooks.sh; fi
  - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then goodtables pymagicc/definitions/datapackage.json; fi
after_success:
  - codecov

language: python
dist: xenial
sudo: required
python:
  - "3.5"
  - "3.6"
  - "3.7"
before_install:
  - sudo dpkg --add-architecture i386
  - sudo apt-get update
  - sudo apt-get install --no-install-recommends -y wine
  - pip install nbval matplotlib git+https://github.com/thedataincubator/expectexception.git@master notebook
install:
  - pip install -e .[test]
script:
  - pytest --cov -rfsxEX
  - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then ./scripts/test_notebooks.sh; fi
  - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then goodtables pymagicc/definitions/datapackage.json; fi
after_success:
  - codecov

Update Linux version for Travis
Update Linux version for Travis
