Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ compiler:
sudo: false
cache: ccache
matrix:
allow_failures:
- python: 3.7
include:
- os: linux
node_js: "latest"
Expand All @@ -17,7 +19,27 @@ matrix:
- make -j2 V=
script:
- make -j2 test-ci
- os: linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be covered by the lint-ci job

language: python
python: 2.7
install:
- pip install flake8
script:
- flake8 --version
- EXCLUDE=./deps/npm/node_modules/node-gyp,./deps/v8,./src/noperfctr_macros.py,./src/notrace_macros.py,./tools
- flake8 . --count --exclude=${EXCLUDE} --select=E901,E999,F821,F822,F823 --show-source --statistics
- os: linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed ATM. There are many script that are incompatible anyway.

language: python
python: 3.7
dist: xenial # required for Python 3.7
sudo: true # required for Python 3.7
install:
- pip install flake8
script:
- flake8 --version
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

before_install:
- export CXX="ccache clang++ -Qunused-arguments"
- export CC="ccache clang -Qunused-arguments -Wno-unknown-warning-option"
- export JOBS=2
- export JOBS=4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should check why this was 2 before changing