language: python
python: 3.6
# Ubuntu 18.04
dist: bionic
# Command to install Python dependencies
install:
  - pip install -r bin/requirements.txt
# Command to run tests
script:
  - cd bin/ && coverage run --include=./*.py --omit=tests/* -m unittest discover && rm -rf ../html_dev/coverage && coverage html --directory=../html_dev/coverage --title="Code test coverage for vallenato.fr"
# Deploy the development information website to Github Pages
deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN  # Set as a secure variable in the Travis settings page of the repository
  keep_history: true
  local_dir: html_dev
  target_branch: gh-pages
  verbose: true

language: python
python: 3.6
# Ubuntu 18.04
dist: bionic
# Command to install Python dependencies
install:
  - pip install -r bin/requirements.txt
# Command to run tests
script:
  - ./bin/test.sh
# Deploy the development information website to Github Pages
deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN  # Set as a secure variable in the Travis settings page of the repository
  keep_history: true
  local_dir: html_dev
  target_branch: gh-pages
  verbose: true

Update Travis config to use the test suite wrapper
Update Travis config to use the test suite wrapper
