Skip to content

Commit

Permalink
Speedup Travis CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
chovanecm committed Dec 31, 2017
1 parent e0ae080 commit 3cd2d26
Showing 1 changed file with 64 additions and 62 deletions.
126 changes: 64 additions & 62 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,64 @@
matrix:
include:
- language: python
python: "3.5"
env:
- INFO=PythonCodeCheck
before_script: make pydevrequirements
script:
- make flake8
- make pydocstyle
- language: node_js
env:
- INFO=JavaScriptTest
node_js: "7"
before_script: @echo Running JavaScript unit tests
script:
- make qunit

- language: node_js
env:
- INFO=JavaScriptCodeCheck
node_js: "7"
before_script: @echo Running JavaScript code checks
script:
- make eslint

language: python
python: "3.5"
git:
depth: 3
cache:
- pip
- directories:
- node_modules # NPM packages
before_script:
- pip install tox
env:
- TOX_ENV=py35
- TOX_ENV=py36
- TOX_ENV=coverage
script:
- tox -e $TOX_ENV
# safelist
branches:
only:
- master
- develop
- travis-speedup

#- pip install flake8
#- pip install coveralls




# command to install dependencies
# install: python setup.py install
# command to run tests

#after_success:
# not necessary, done by tox
# coveralls
matrix:
include:
- language: python
python: "3.5"
before_script:
- pip install tox
env:
- TOX_ENV=py35
- TOX_ENV=py36
- TOX_ENV=coverage
script:
- tox -e $TOX_ENV

- language: python
python: "3.5"
env:
- INFO=PythonCodeCheck
before_script: make pydevrequirements
script:
- make flake8
- make pydocstyle

- language: node_js
env:
- INFO=JavaScriptTest
node_js: "7"
script:
- make qunit

- language: node_js
env:
- INFO=JavaScriptCodeCheck
node_js: "7"
script:
- make eslint


git:
depth: 3
cache:
- pip
- directories:
- node_modules # NPM packages

# safelist
branches:
only:
- master
- develop
- travis-speedup

#- pip install flake8
#- pip install coveralls




# command to install dependencies
# install: python setup.py install
# command to run tests

#after_success:
# not necessary, done by tox
# coveralls

0 comments on commit 3cd2d26

Please sign in to comment.