This repository contains scripts designed to be used in .travis.yml files of GitHub repositories.
For more information considering Travis CI refers to its documentation.
Note
It can be convenient to work in a travis.yml file instead of .travis.yml file.
To do so, create the symoblic link .travis.yml to the travis.yml file.
ln -s travis.yml .travis.yml
These scripts are designed to be used with the following .travis.yml file:
os:
- linux
- osxsudo: requiredservices:
- dockerenv:
# Add here environement variables to control the Travis CI buildinstall:
- git clone https://github.com/StatisKit/travis-ci.git travis-ci --depth=1
- cd travis-ci
- source install.shbefore_script:
- source before_script.shscript:
- source script.shafter_success:
- source after_success.shafter_failure:
- source after_failure.shbefore_deploy:
- source before_deploy.shdeploy:
skip_cleanup: trueprovider: scripton:
all_branches: truescript: bash deploy_script.shafter_deploy:
- source after_deploy.shafter_script:
- source after_script.shNote
The config.sh script is executed from within the install.sh script.