Travis CI is a very impressive and cool CI tool that can directly fetch and automatically build your GitHub projects. Following few steps you can easily integrate your GitHub projects with Travis CI
1. Got to https://travis-ci.org/ and log in using your GitHub account
2. click + button and add your project to Travis CI
3. Add .travis.yml file to the root folder of the project and push it to GitHub
This is the file that contains configuration details to Travis CI about your project details like language and build instructions
If your project is a java maven project, you can simply add
1. Got to https://travis-ci.org/ and log in using your GitHub account
2. click + button and add your project to Travis CI
3. Add .travis.yml file to the root folder of the project and push it to GitHub
This is the file that contains configuration details to Travis CI about your project details like language and build instructions
If your project is a java maven project, you can simply add
language: java install: mvn install -Dmaven.compiler.target=1.6 -Dmaven.compiler.source=1.6 -DskipTests=true script: mvn test -Dmaven.compiler.target=1.6 -Dmaven.compiler.source=1.6
For more configuration details refer to the documentation of Travis CI
4. Do some change to your project and push it to GitHub. Commit will be reflected in Travis Console same time and it will start to build project automatically and send build details to your mail.
No comments:
Post a Comment