-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from bulk-reviewer/prerelease
Bulk Reviewer 0.2.0
- Loading branch information
Showing
31 changed files
with
3,507 additions
and
2,085 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,48 @@ | ||
osx_image: xcode8.3 | ||
sudo: required | ||
dist: trusty | ||
language: c | ||
compiler: gcc | ||
matrix: | ||
include: | ||
- os: osx | ||
- os: linux | ||
env: CC=clang CXX=clang++ npm_config_clang=1 | ||
compiler: clang | ||
cache: | ||
directories: | ||
- node_modules | ||
- "$HOME/.electron" | ||
- "$HOME/.cache" | ||
addons: | ||
apt: | ||
packages: | ||
- libgnome-keyring-dev | ||
- icnsutils | ||
artifacts: | ||
paths: | ||
- $(ls BulkReviewer-*{dmg,AppImage}) | ||
before_install: | ||
- mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v1.2.1/git-lfs-$([ | ||
"$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-1.2.1.tar.gz | ||
| tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew upgrade python; fi | ||
- os: linux | ||
dist: bionic | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-7 | ||
- libgnome-keyring-dev | ||
- icnsutils | ||
- graphicsmagick | ||
- xz-utils | ||
- libewf-dev | ||
- libssl-dev | ||
- libsqlite3-dev | ||
- libboost-dev | ||
- libicu-dev | ||
- libtool | ||
- sleuthkit | ||
- os: osx | ||
osx_image: xcode11 | ||
addons: | ||
homebrew: | ||
packages: | ||
- libewf | ||
- afflib | ||
- sleuthkit | ||
- bulk_extractor | ||
install: | ||
- nvm install 8 | ||
- curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- source ~/.bashrc | ||
- npm install -g xvfb-maybe | ||
- sudo pip install --upgrade virtualenv && virtualenv -p python3 env | ||
- source env/bin/activate && cd src/main && pip install -r backend/requirements.txt && pyinstaller backend/br_processor.py --distpath backend_dist | ||
- yarn install | ||
- yarn run build | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git clone --recursive https://github.com/timothyryanwalsh/bulk_extractor && cd bulk_extractor && chmod 755 bootstrap.sh && ./bootstrap.sh && ./configure && make && sudo make install && cd ..; fi | ||
- nvm install 10 | ||
- curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- source ~/.bashrc | ||
- npm install -g xvfb-maybe | ||
- sudo pip install --upgrade virtualenv && virtualenv -p python3 env | ||
- source env/bin/activate && cd src/main && pip install -r backend/requirements.txt && pyinstaller backend/br_processor.py --distpath backend_dist | ||
- yarn install | ||
script: | ||
- | | ||
if [[ $TRAVIS_BRANCH == 'master' || $TRAVIS_BRANCH == 'prerelease' ]]; then | ||
yarn run release | ||
fi | ||
- python backend/test.py && yarn run build | ||
branches: | ||
only: | ||
- master | ||
- prerelease |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Delete backend_dist if exists | ||
if [ -d src/main/backend_dist ]; then | ||
rm -rf src/main/backend_dist | ||
fi | ||
|
||
# Run pyinstaller | ||
pyinstaller src/main/backend/br_processor.py --distpath src/main/backend_dist | ||
|
||
# Clean up | ||
rm -rf src/main/br_processor.spec | ||
rm -rf src/main/build | ||
rm -rf br_processor.spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.