Commit Graph

141 Commits

Author SHA1 Message Date
Ilija Lazoroski e690eb7c61 Project: Lock the windows pipenv version to 2022.7.4 2022-09-09 09:16:45 -04:00
Mike Salvatore 01e886f866 Project: Remove step in travis build to upgrade pipenv
It seems that every time a new version of pipenv is released it breaks
travis. For the moment, it seems that the magic combination is to
upgrade pip but not upgrade pipenv.

I've been unable to reproduce the issue outside of any environment other
than Travis CI.

Once we split our project up into multiple repos, we should strongly
consider switching to poetry.
2022-08-15 08:23:17 -04:00
Mike Salvatore 879f809aa4 Project: Use the latest pip in travis build 2022-08-15 07:37:36 -04:00
Mike Salvatore fae4247505 Project: Add special `fix-travis` branch to travis build list
When attempting to fix an issue with travis, it's important to actually
run travis. In order to do this without a pull request, I've added a
special `fix-travis` branch to the list of branches travis is allowed to
build.
2022-08-15 07:34:39 -04:00
Mike Salvatore 998d33a22c Project: Update python to 3.7.9 for Windows travisci job 2022-07-21 07:46:31 -04:00
Mike Salvatore bc1ff393b7 Project: Use Focal for travis builds
Xenial has been EOL for over a year. Use Focal instead.
2022-07-05 11:44:10 -04:00
Mike Salvatore 9172b76d27 Project: Add develop and master to list of travis branches to build 2022-06-09 15:02:25 -04:00
Ilija Lazoroski 1bfffb0bfd Project: Fix travis build 2022-05-30 13:15:31 +02:00
Ilija Lazoroski f9c4112c21 Project: Add windows os to TravisCI
Fixes #1939
PR #1945
2022-05-12 12:02:28 -04:00
Mike Salvatore 16e887a94a Merge pull request #1887 from guardicore/agent-refactor 2022-04-14 12:20:43 -04:00
Mike Salvatore 3240e32e93 Project: Upgrade NodeJS from 12 -> 16 in TravisCI 2022-04-13 12:43:05 -04:00
Mike Salvatore 9ae35beba9 Project: Add npm caching strategy to TravisCI 2022-04-13 12:42:19 -04:00
Mike Salvatore ffec206435 Project: Use "pip: true" in TravisCI cache section 2022-04-13 12:41:25 -04:00
Mike Salvatore d1d7495c49 Project: Add cores to TravisCI build 2022-04-13 12:33:59 -04:00
Mike Salvatore 3478d17755 Project: Parallelize pynacl build in TravisCI 2022-04-13 12:24:43 -04:00
Mike Salvatore a1c1a00f5f Project: Run pytest in parallel on TravisCI 2022-04-13 12:15:55 -04:00
Mike Salvatore dba9b9a637 Project: Update swimm binary download location in .travis.yaml 2022-03-31 20:02:43 -04:00
Ilija Lazoroski f2b498d3c9 Project: Add upgrade to pipenv in Travis 2022-03-30 13:34:22 -04:00
Ilija Lazoroski b27d9fa0a4 Project: Add upgrade to pipenv in Travis 2022-03-02 11:46:41 +01:00
vakarisz a12f87d463 Project: update travis to use Hugo 0.92.0 2022-01-26 08:31:08 -05:00
Mike Salvatore 9215ed32ad Travis: Download latest swimm from github 2021-10-14 07:51:33 -04:00
Shreya Malviya d118cdf3f5 travis: Update Swimm version 2021-08-31 12:49:57 +05:30
Mike Salvatore b1fe850624 Travis: Use swimm version 0.5.0, and not "latest" from GitHub API
GitHub only allows so many API calls per hour. If this is exceeded, the
travis ci build will fail.
2021-07-15 12:13:16 -04:00
Mike Salvatore 23c298a5f1 Travis: Use hugo version 0.85.0, and not "latest" from GitHub API
GitHub only allows so many API calls per hour. If this is exceeded, the
travis ci build will fail.
2021-07-15 12:00:57 -04:00
Mike Salvatore 0cd9709b82 island: Remove server_config.json.develop
Since Monkey Island no longer writes to server_config.json in the source
code directory, and each package will overwrite server_config.json with
its own server config (until we separate the deployment from the config
in issue #1205), we no longer need server_config.json.develop and we
don't need to worry about accidentally committing credentials to git.
2021-06-03 20:38:13 -04:00
Mike Salvatore c17ccb05f0 travis: cache pipenv 2021-05-10 10:39:15 -04:00
Mike Salvatore f25cfe277d travis: Install hugo binary from github
It currently takes 4 minutes to install hugo with homebrew. Using a
faster way to install hugo could speed up the Travis CI build by as much
as 42%.
2021-05-10 10:08:43 -04:00
Mike Salvatore b41a2f2366 travis: Fail build if vulture finds dead code 2021-05-05 19:19:59 +05:30
Mike Salvatore 54f640d83b travis: install node v12.x, instead of latest 2021-04-27 07:30:32 -04:00
VakarisZ c00754a3a4 Moved dev requirements of black, coverage, flake and others to dev dependencies of the island to be a single source of truth 2021-04-22 09:50:29 -04:00
VakarisZ e4415d822a Fixed requirement installation in travis to install from lock files, so that travis would ideally replicate our development 2021-04-22 09:50:29 -04:00
VakarisZ e7cef5fd9f Updated travis to use pipenv 2021-04-22 09:50:29 -04:00
Shreya d01de96e95 Change max JS warnings limit to 0 in travis.yml 2021-04-12 18:43:37 +05:30
Mike Salvatore 2792bac5e6 Merge branch 'e501-warnings' into develop
Resolves #1071
2021-04-08 08:02:53 -04:00
Shreya Malviya 4d951e2a8a
Merge pull request #1082 from guardicore/swimm-verify
Swimm verify
2021-04-08 17:31:31 +05:30
Shreya 2f8441f1d5 Update travis script for swimm verify 2021-04-08 17:12:10 +05:30
Mike Salvatore 7901446b4e ci: expand flake8 checks from `monkey/` to whole repo 2021-04-07 13:41:40 -04:00
Mike Salvatore 958fa50d83 Merge branch 'pre-commit' into develop 2021-04-07 11:07:27 -04:00
Mike Salvatore f22fc8e37e ci: use swimm version 0.4.1 in travis.yml 2021-04-07 07:16:57 -04:00
VakarisZ cd59e9ba1a Updated travis script to use the latest swimm version. 2021-04-07 06:57:04 -04:00
Mike Salvatore 1414d132d3 ci: Add swimm verify back to travis.yml
This reverts commit 4aa9a14f13.
2021-04-07 06:56:10 -04:00
Shreya ca365717b1 Modify travis script for isort 2021-04-06 17:50:52 -04:00
Mike Salvatore d0e1239b27 ci: fail the build if code is not formatted with black 2021-04-06 09:15:35 -04:00
Mike Salvatore c1929c2bd3 ci: remove dlint from travis
Issue #1075 has been created to track the task to add this back in and
integrate with pre-commit
2021-04-05 14:26:24 -04:00
Mike Salvatore a7f8efa102 ci: fail travis build if flake8 finds any issues 2021-04-05 13:45:18 -04:00
Mike Salvatore 4966aaf213 ci: freeze versions of certain packages in travis build
Fix the versions of black, flake8, and isort in travis so that the same
versions are being used to pass/fail the build as developers are using
in their pre-commit hooks
2021-04-05 10:22:27 -04:00
Mike Salvatore ecfc59cfd7 ci: fail the build if code is not formatted with black 2021-04-05 07:53:03 -04:00
Mike Salvatore fef44bcd05 cc: deploy "develop" environment by default 2021-03-31 07:36:07 -04:00
VakarisZ 24564fd0f0 Removed ScoutSuite from travis, since it's no longer a submodule 2021-03-17 11:49:51 -04:00
Mike Salvatore 4aa9a14f13 ci: remove `swimm verify` for now
There is a bug in swimm that is causing `swimm verify` to fail in the CI
pipeline, eventhough it succeeds locally. Disabling for now while the
swimm team works to rectify the issue.
2021-02-23 07:51:56 -05:00