notifications:
  email: false

language: python

python:
  - 3.5

cache:
  apt: true
  pip: true

branches:
  only:
    - master

addons:
  apt:
    packages:
    - git
    - gcc
    - g++
    - gfortran
    - python-pip
    - graphviz
    - libblas-dev
    - liblapack-dev
    - gmsh

before_install:
  - openssl aes-256-cbc -K $encrypted_614a5b0d391b_key -iv $encrypted_614a5b0d391b_iv -in .deploy_key.enc -out .deploy_key -d
  - chmod 600 .deploy_key

install:
  # - export gfortran=gfortran-6
  # - export gcc=gcc-6
  # - export g++=g++-6
  - pip install --upgrade graphviz
  - pip install --upgrade meshio
  - (pip install --upgrade ford && ford --version)

script:
  - make
  - make run
  - make docs

after_success:
  - cd $TRAVIS_BUILD_DIR
  - git config --global user.name "TRAVIS-CI-for-$(git --no-pager show -s --format='%cn' $TRAVIS_COMMIT)"
  - git config --global user.email "$(git --no-pager show -s --format='%ce' $TRAVIS_COMMIT)"
  - bash ./deploy.sh

notifications:
  email: false

language: python

python:
  - 3.5

cache:
  apt: true
  pip: true

branches:
  only:
    - master

addons:
  apt:
    packages:
    - git
    - gfortran
    - python-pip
    - graphviz
    - libblas-dev
    - liblapack-dev
    - gmsh

before_install:
  - openssl aes-256-cbc -K $encrypted_614a5b0d391b_key -iv $encrypted_614a5b0d391b_iv -in .deploy_key.enc -out .deploy_key -d
  - chmod 600 .deploy_key

install:
  - pip install --upgrade graphviz
  - pip install --upgrade meshio
  - (pip install --upgrade ford && ford --version)

script:
  - make
  - make run
  - make docs

after_success:
  - cd $TRAVIS_BUILD_DIR
  - git config --global user.name "TRAVIS-CI-for-$(git --no-pager show -s --format='%cn' $TRAVIS_COMMIT)"
  - git config --global user.email "$(git --no-pager show -s --format='%ce' $TRAVIS_COMMIT)"
  - bash ./deploy.sh

Remove unnecessary dependencies for Travis
Remove unnecessary dependencies for Travis
