travis-ci: Tools for Using Conda in Travis CI¶
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.
It can be convenient to work in a
travis.yml file instead of
To do so, create the symoblic link
.travis.yml to the
These scripts are designed to be used with the following
os: - linux - osx sudo: required services: - docker env: # Add here environement variables to control the Travis CI build install: - git clone https://github.com/StatisKit/travis-ci.git travis-ci --depth=1 - cd travis-ci - source install.sh before_script: - source before_script.sh script: - source script.sh after_success: - source after_success.sh after_failure: - source after_failure.sh before_deploy: - source before_deploy.sh deploy: skip_cleanup: true provider: script on: all_branches: true script: bash deploy_script.sh after_deploy: - source after_deploy.sh after_script: - source after_script.sh
config.sh script is executed from within the
Travis CI builds are decomposed into jobs. These scripts allow to run different kind of jobs:
The jobs defined in your
.travis.yml and the order in which there are runned depend on your repository objective.
For example, in the StatisKit software suite \(3\) kins of GitHub repositories are considered:
If a job failed on a given OS, all flowwing jobs on the same OS will fail.