Thread: Using Travis
View Single Post
  #1  
Old May 26th, 2018, 03:45 PM
Leitz's Avatar
Leitz Leitz is offline
Baron
 
Join Date: Mar 2009
Location: Wretched hive of scum and villany
Posts: 2,734
Gallery : 0
Leitz Citizen+Leitz Citizen+Leitz Citizen+
Default Using Travis

For those who like to test in addition to your tests, check out travis-ci.org. When you link your GitHub repo to Travis, and have a good ".travis.yml" file (note the preceding dot), any git push triggers a travis run. You can specify a few things like what version(s) of your language to run, etc. Seeing that green "passed" is a nice way to end your coding session.

Here's the .travis.yml file for my rb_tools repo:
Code:
language: ruby

rvm:
  - 2

install: gem install sqlite3
This one is for the py_tools repo:
Code:
language: python

python:
 - "2.6"
 - "2.7"
 - "3.6"
 - "nightly"

script:
  pytest
__________________
Chronicler, the Domici War
Reply With Quote

Welcome!
To see more of this thread, please login or register.