Skip to content

Commit

Permalink
Add travis file to branch
Browse files Browse the repository at this point in the history
  • Loading branch information
smartie2076 authored and smartie2076 committed Oct 23, 2019
1 parent 3db1312 commit b966096
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
dist: xenial # required for Python >= 3.7
language: python
python:
- '3.6'

# To install packages which are not on pip
before_install:
- sudo apt-get install coinor-cbc
#addons:
# apt:
# update: true

# command to install dependencies
install:
- pip install -r requirements.txt
- pip install -r tests/test_requirements.txt

# commands to run tests
script:
- pytest tests/tests.py
# - flake8
# - pylint */*.py
#jobs:
# include:
# - stage: "Tests" # naming the Tests stage
# name: "Linting Tests" # names the first Tests stage job
# script: flake8
# script: pylint
# for later stages
# - script: ./integration-tests
# name: "Integration Tests" # names the second Tests stage job
# - stage: deploy
# name: "Deploy to GCP"
# script: ./deploy

# blocklist
#branches:
# except:
# - branch_name1
# - branch_name2

# safelist
#branches:
# only:
# - branch_name1
# - branch_name2

0 comments on commit b966096

Please sign in to comment.