Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #117 from simphony/speed-up-build
Browse files Browse the repository at this point in the history
speed-up builds
  • Loading branch information
mehdisadeghi committed Jun 28, 2016
2 parents ed4733c + c72bea8 commit 15e65c2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
language: python
python:
- "2.7"


cache:
pip: true
directories:
- $HOME/.ccache

env:
- SIMPHONY_VERSION=master
matrix:
Expand All @@ -10,8 +15,11 @@ matrix:

before_install:
- sudo apt-get update -qq
- sudo apt-get install mpi-default-bin mpi-default-dev

- sudo apt-get install mpi-default-bin mpi-default-dev ccache
- sudo ln -s ccache /usr/local/bin/mpic++
- export PATH=/usr/lib/ccache:${PATH}
- ccache -s

install:
# build and install lammps
- ./install_external.sh
Expand All @@ -27,6 +35,7 @@ script:
- coverage run -m unittest discover
- python setup.py build_sphinx
- cd examples/dem_billiards/; python dem_billiards.py
- cd ..

after_success:
- pip install codecov
Expand Down

0 comments on commit 15e65c2

Please sign in to comment.