Mike Salvatore
74933daf8d
ci: Use pytest-cov instead of coverage
...
For some unknown reason, running `coverage` omits some python files from
the coverage report. It also runs the test suite a second time, which is
inefficient. By using pytest-cov, tests are only run once and coverage
data is more complete.
2021-01-14 14:10:43 -05:00
VakarisZ
1bff64f09b
Merge pull request #875 from VakarisZ/validation_script
...
Validation script
2020-12-22 15:48:39 +02:00
Shreya
50bec61494
Update apt-get commands for Swimm in Travis
2020-12-15 11:33:59 +05:30
Shreya
9783b57761
Swimm changes in Travis
2020-12-10 00:18:56 +05:30
Shreya
96e103ada5
Add Swimm dependencies to Travis
2020-12-09 23:44:38 +05:30
Shreya
b78046e6f4
Update Swimm in Travis
2020-12-09 23:18:01 +05:30
VakarisZ
6401826ee3
Fixed travis script bug, where flake8 didn't pick up its configuration file
2020-11-06 13:18:03 +02:00
VakarisZ
1f1682fad8
Exported multiple configurations of CI tools to separate configurations, improved script
2020-11-06 11:48:52 +02:00
VakarisZ
2e35b9ac43
Initial implementation of validation script
2020-11-05 14:58:52 +02:00
VakarisZ
12e7c40db9
Increased js warning limit to 7, because I used ` for classnames.
2020-09-23 14:54:30 +03:00
VakarisZ
6e10dd20d1
Run monkey page: fixed a bunch of bugs, CR comments
2020-09-23 14:47:05 +03:00
VakarisZ
62708cf6b2
Fixed es-lint warnings and increased upper warning limit
2020-09-18 18:03:44 +03:00
Shay Nehmad
6b9b755c52
Add swimm verify to Travis build
2020-09-03 15:23:01 +03:00
ophirharpazg
47d5b264ea
decrement number of allowed warnings
2020-09-02 12:51:05 +03:00
Shay Nehmad
accd6bd0fa
See https://eslint.org/docs/rules/no-prototype-builtins
2020-08-31 17:16:53 +03:00
Shay Nehmad
f23199c4a3
Fixed more warnings and lowered the linter upper limit to double digits
2020-08-31 14:40:03 +03:00
VakarisZ
f825c8551c
Removed debugging ls statements on travis.yml
2020-08-27 15:09:25 +03:00
VakarisZ
9803bc6a46
Added server_config.json initialization to travis script.
2020-08-17 11:51:19 +03:00
VakarisZ
05395fee6d
Created code that generates default server_config.json, so we don't need to track this file on git and remember not to commit credentials.
2020-08-14 15:44:47 +03:00
Shay Nehmad
ac21aca70d
Tested upgrade + small UI bugfix
2020-07-28 12:33:20 +03:00
Shay Nehmad
e21d67c37a
Clean some JS warnings
2020-07-26 14:40:13 +03:00
Shay Nehmad
9846477bea
Change to isort from flake8-import-order
...
fix issues in envs/ as well
2020-07-15 18:46:04 +03:00
Shreya
cebee2de0b
Add flake8-import-order
2020-07-15 17:33:24 +05:30
Shay Nehmad
638e6d61de
Added pipdeptree to build process
2020-07-08 17:03:50 +03:00
Shay Nehmad
d501bf3b00
Add six minimum requirement to explicitly resolve conflict
...
Added pip freeze to travis to ease debugging
2020-07-08 16:43:52 +03:00
Shay Nehmad
c20158c37e
Merge pull request #681 from guardicore/602/documentation-framework
...
602/documentation framework
2020-06-29 18:52:28 +03:00
VakarisZ
8a31ff21b8
Disabled no-unescaped-entities, because it throws warnings on ' usage in text, because typographically it's not an apostrophe
2020-06-25 11:33:28 +03:00
Shreya
53e6f893c6
Disabled prop-types warning in eslint
...
(Accidentally force-pushed over the previous commit changing this)
2020-06-24 13:58:52 +05:30
Shay Nehmad
86d30cdee7
Moved config and readme around, fixed travis
2020-06-17 17:36:37 +03:00
Shay Nehmad
dfa59cfd0c
Trying alternative installation method for brew
2020-06-16 13:08:33 +03:00
Shay Nehmad
98e4cda08a
Add building the docs to travis
2020-06-16 13:04:24 +03:00
Shay Nehmad
8d2b879ea7
nvm comes pre-installed on travis images, so we're fine
2020-05-20 16:09:36 +03:00
Shay Nehmad
6cf81304f8
Load NVM after installing in TravisCI script
2020-05-11 16:44:13 +03:00
Shay Nehmad
3f83176f84
Fix syntax (and add comment for future travelers)
2020-05-11 16:39:28 +03:00
Shay Nehmad
23d7ef4d97
Update travis script to use npm ci as well
2020-05-11 16:16:58 +03:00
Shay Nehmad
07330ff2f5
Fix build problem
...
eslint and node incompatebility
2020-05-10 15:42:42 +03:00
Ace Pace
2f4904d3a3
Merge branch 'develop' into bugfix/random_pep
2020-05-05 23:57:34 +03:00
Ace Pace
4c27ea4f7b
Fix a few more. Re set the number of flake warnings to be higher :(
2020-05-05 23:47:41 +03:00
Ace Pace
24dc84ced2
Bring back eslint errors, raise travisCI threshold :(
2020-05-01 15:06:49 +03:00
Ace Pace
431daa1f8e
Reduce number of flake8 warnings to 100.
2020-05-01 13:02:41 +03:00
Shay Nehmad
215dc59f12
Removed "discover" from coverage cmd (it's for unittest, not pytest)
2020-03-15 11:28:46 +02:00
Shay Nehmad
bff9cc36b1
Added codecov tests to travis yml and updated readme
2020-03-15 11:20:58 +02:00
VakarisZ
adba6f5258
Increased upper error limit for js on travis
2019-12-03 17:10:44 +02:00
VakarisZ
bdd3d41a7b
Increased js warnings upper limit
2019-11-29 11:07:40 +02:00
Daniel Goldberg
401def5eb2
Merge Infection Monkey requirements files
2019-11-26 13:22:56 +02:00
Shay Nehmad
ad8be355a1
Update travis upper limit for JS from 500 to 30
2019-11-10 15:58:30 +02:00
Shay Nehmad
ad1e85f867
Fixed typo and added some documentation.
2019-11-08 16:30:43 +02:00
Shay Nehmad
0acec95c86
Updated JS lint upper limit (currently 497)
2019-11-07 17:00:14 +02:00
Shay Nehmad
fde8ac53e3
Moved npm i to after python checks
2019-11-07 16:44:00 +02:00
Shay Nehmad
1194bc0d06
Added npm install to make sure eslint will work (it needs babel)
2019-11-07 16:35:42 +02:00