https://github.com/szaghi/FLAP
Raw File
Tip revision: 134242cdcd93d9f86711741c767d0ae8831b0047 authored by Stefano Zaghi on 05 June 2015, 15:21:17 UTC
Add automatic generation of MAN PAGE issue#22
Tip revision: 134242c
.travis.yml
language: python

python:
  - 2.7

before_install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update -qq
  - sudo apt-get install gfortran-4.9 binutils
  - sudo pip install FoBiS.py
  - sudo pip install markdown-checklist
  - sudo pip install ford
  - sudo pip install cpp-coveralls
  - ln -fs /usr/bin/gfortran-4.9 gfortran
  - ln -fs /usr/bin/gcov-4.9 gcov
  - export PATH=".:$PATH"

before_script:
  - FoBiS.py build -mode test-driver-gnu -coverage

script:
  - FoBiS.py rule -ex makecoverage

after_success:
  # coverage analysis
  - cd $TRAVIS_BUILD_DIR
  # - rm -f ./Test_Driver/obj/IR_Precision.gc*
  # - rm -f ./Test_Driver/obj/Lib_IO_Misc.gc*
  # - rm -f ./Test_Driver/obj/Lib_Strings.gc*
  # - rm -f ./Test_Driver/obj/Test_Driver.gc*
  # - coveralls -b .
  - coveralls -n -b .
  # deploy documentation
  - git config --global user.name "Stefano Zaghi"
  - git config --global user.email "stefano.zaghi@gmail.com"
  - git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/szaghi/FLAP doc/html
  - FoBiS.py rule -ex makedoc
  - cd doc/html
  - git add -f --all *
  - git commit -m "Travis CI autocommit from travis build ${TRAVIS_BUILD_NUMBER}"
  - git push -fq origin gh-pages
back to top