language: python
python:
  - "2.7"
before_install:
  # Download bundle of python eggs, and use it as download cache
  - "wget http://depot.makina-corpus.org/public/geotrek/geotrek-bundle.tar.gz -O /tmp/geotrek-bundle.tar.gz || true"
  - "tar -zxf /tmp/geotrek-bundle.tar.gz --directory=$HOME || mkdir -p $HOME/.buildout/downloads"
  - echo -e "[buildout]\ndownload-cache=$HOME/.buildout/downloads" > $HOME/.buildout/default.cfg
install:
  - ./install.sh --dev
  - sudo ln -sf `pwd`/bin/phantomjs /usr/local/bin/
  - sudo ln -sf `pwd`/bin/casperjs /usr/local/bin/
  - ./bin/buildout -Nvc buildout-tests.cfg
script:
  - ./bin/django test authent core land maintenance trekking common infrastructure mapentity
  - make test_js
  # Re-run for coverage
  - rm -rf ./var/media/maps/*
  - ./bin/coverage run ./bin/django test authent core land maintenance trekking common infrastructure mapentity
after_success:
  # Report coverage results to coveralls.io
  - ./bin/coverage report -m 
  - pip install coveralls
  - coveralls
notifications:
  email: false
  irc: "irc.freenode.org#geotrek"

language: python
python:
  - "2.7"
before_install:
  # Download bundle of python eggs, and use it as download cache
  - "wget http://depot.makina-corpus.org/public/geotrek/geotrek-bundle.tar.gz -O /tmp/geotrek-bundle.tar.gz || true"
  - "tar -zxf /tmp/geotrek-bundle.tar.gz --directory=$HOME || mkdir -p $HOME/.buildout/downloads"
  - echo -e "[buildout]\ndownload-cache=$HOME/.buildout/downloads" > $HOME/.buildout/default.cfg
install:
  - ./install.sh --dev
  - sudo ln -sf `pwd`/bin/phantomjs /usr/local/bin/
  - sudo ln -sf `pwd`/bin/casperjs /usr/local/bin/
  - ./bin/buildout -c conf/buildout-tests.cfg buildout:directory=`pwd`
script:
  - ./bin/django test authent core land maintenance trekking common infrastructure mapentity
  - make test_js
  # Re-run for coverage
  - rm -rf ./var/media/maps/*
  - ./bin/coverage run ./bin/django test authent core land maintenance trekking common infrastructure mapentity
after_success:
  # Report coverage results to coveralls.io
  - ./bin/coverage report -m 
  - pip install coveralls
  - coveralls
notifications:
  email: false
  irc: "irc.freenode.org#geotrek"

Fix buildout path in Travis script
Fix buildout path in Travis script