Skip to content

rutujar/helloworld_travis_demo

Repository files navigation

Travis_Demo_KPIT

Build Status CircleCI Build status codecov Codacy Badge

GitHub last commit GitHub repo size in bytes GitHub stars

In this project, your goal is to write a program and implement various Continous Integration tools using Travis, Jenkins,Appveyor,Circle CI for my Internship @KPIT.

DOCUMENTATION

Nothing to INSTALL it is easy to use.

STEPS

To run and test my project

  • Fork the document
  • open travis website, enable the repository
  • build the project

TRAVIS CI SYNTAX

C

language: c  
sudo: false # only for faster builds  
compiler:
   - clang
   - gcc
script:  
   - gcc -o test test.c #test is filename.c
   - ./test

CPP(C++)

language: cpp  
compiler: gcc  
dist: trusty  
before_install:  
 - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
 - sudo apt-get update -qq  
install:   
 - sudo apt-get install -qq g++-6  
 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90  
script:   
 - g++ swap.cpp -std=c++17 -o travis_gcc_cpp17  
 - ./travis_gcc_cpp17 

JAVA

language: java
jdk: oraclejdk8
script: 
  - javac test.java
  - java test

PYTHON

language: python
python: 3.6
cache: pip
before_script:
 - easy_install distribute
 - pip install -r requirements.txt
script: 
 - python test.py

RUBY

language: ruby
sudo: false
script: 
 - ruby hello.rb
rvm:
 - 1.9.3

How to contribute

Fork the repository, read the rest of the file and make some changes. Once you're done with your changes send a pull request. I will merge it. Thanks!

LICENSE

Support Me

If you liked this, leave a star and fork it! ⭐

If you liked this and also liked my other work, be sure to follow me for more! 🙂