forked from p15670423/monkey
Trying to multi-language travis build
This commit is contained in:
parent
dcbe7b1ee0
commit
a6aa0eb864
22
.travis.yml
22
.travis.yml
|
@ -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
|
Loading…
Reference in New Issue