loading...
Cover image for Day 9 of #100DaysOfCode: engage CI for building and validation with Travis-CI

Day 9 of #100DaysOfCode: engage CI for building and validation with Travis-CI

jenhsuan profile image Jen-Hsuan Hsieh ・1 min read

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.
Alt Text

3.Select repositories from Repository access
Alt Text

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
Alt Text

Articles

There are some of my articles. Feel free to check if you like!

Posted on by:

jenhsuan profile

Jen-Hsuan Hsieh

@jenhsuan

6+ year work experience in the software engineering field. 2+ year work experience with front-end JavaScript framework like React.js, Knockout.js. and Microsoft solution.

Discussion

markdown guide