Introduction
Travis CI is the Leader continuous integration platform. It starts in 2011 in open source, move to paid and enterprise.
Travis-CI is Github based. Github will notify Travis CI when the developer push the code. Travis will pull code from Github and run test automatically.
Steps
1.Login to https://travis-ci.com/
2.Click Settings from the dashboard. It redirects to Github.
3.Select repositories from Repository access
4.Add .travis.yml in the root folder. This is the template for Python.
language: python
python:
- 3.6
install:
- pip install -r requirements.txt
- npm install
- npm build
script:
- npm test
`
5.Travis-CI will build the repository when we push code to Github
Articles
There are some of my articles. Feel free to check if you like!
- My blog-posts for software developing: https://medium.com/a-layman
- My web resume: https://jenhsuan.github.io/ALayman/cover.html
- Facebook page: https://www.facebook.com/imalayman
Top comments (0)