Skip to content

Commit

Permalink
travis add before-install section
Browse files Browse the repository at this point in the history
  • Loading branch information
sirfoga committed Oct 12, 2018
1 parent add1d80 commit 964f389
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ sudo: true
language: "python"
python:
- "3.6"
install:
before_install:
- "sudo apt-get install pylint3" # measure code lint
- "pip3 install -U pip" # upgrade pip
- "pip3 install codecov pytest pytest-cov" # test coverage
- "apt install pylint3" # measure code lint
- "pip3 install pylint-exit"
install:
- "git clone --depth=1 https://github.com/sirfoga/pyhal.git" # clone repo
- "cd pyhal"
- "make pip-install" # install
script:
- "make show-installed-version"
- "pytest --cov=./" # test coverage
- "# codecov"
- "pylint -j 8 hal/* || pylint-exit $?" # measure code lint
- "pylint3 -j 8 hal/* || pylint-exit $?" # measure code lint
notifications:
email: "false" # no email notify
cache: "pip"

0 comments on commit 964f389

Please sign in to comment.