Trying to multi-language travis build

This commit is contained in:
Shay Nehmad 2019-11-07 14:58:52 +02:00
parent dcbe7b1ee0
commit a6aa0eb864
1 changed files with 55 additions and 37 deletions

View File

@ -1,14 +1,18 @@
# Infection Monkey travis.yml. See Travis documentation for information about this file structure.
group: travis_latest
language: python
jobs:
include:
# The python job
- language: python
cache: pip
python:
- 3.7
os: linux
install:
- pip install -r monkey/monkey_island/requirements.txt # for unit tests
- pip install flake8 pytest dlint # for next stages
@ -46,3 +50,17 @@ notifications:
email:
on_success: change
on_failure: always
# The JS job
- language: node_js
cache:
directories:
- "node_modules"
sudo: false
script:
- pwd
- cd monkey_island/cc/ui
- pwd
- npm i -g eslint
- eslint ./src --quiet
- eslint ./src --max-warnings 100