Skip to content

OSSDevelopment-Course-2021-Autumn/python-ci-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

python-ci-exercise

A simple travis-ci exercise repository

Goals:

  • Know Travis CI
  • Be able to write simple configuration file for Travis CI and run it

Steps:

  • Access Travis CI and Sign In with your GitHub account
  • Fork this repository to your GitHub account
  • Add file .travis.yml to your python-ci-exercise repository, including command python catstr.py hello world anb python catstr.py hello world !! in your testing
  • Run a build in Travis CI. You can see your repositories in ‘dashboard' page in Travis CI.
  • The build may be failed. You can modify catstr.py and .travis.yml to make the build succeed, then commit to your repository. The commit will trigger a build on Travis CI automatically.
  • Repeat the previous step until a build succeeds. Warning: You should always include those two commands in your building process.
  • Finally, send a screenshot, which captures the building history of your python-ci-exercise repository, to the TA

References:

About

A simple travis-ci exercise repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages