2016-09-01 22:33:41 +00:00
|
|
|
language: node_js
|
2016-09-01 22:40:47 +00:00
|
|
|
node_js:
|
|
|
|
- "6"
|
|
|
|
|
2016-09-02 00:22:33 +00:00
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
secure: hDK5HxOqtKBOTL8PbBOVN8Rl3JeySb0L7bn7X/ZhkpRsakwoj8Y2YfWZz8tb31W3yViGVAa1FpaJzphze4E+d48pNoV6220yTv5gjJHhtybWzTGNS/FOEUPKYQrDFBk3Ve3l5rIcBZhX6KEJg5r8O27JpJkhrCEqkDj+9SQHWEzLJHaW6HYwMlR0+CNQYSd8+siLsjITYiUn49TnD0f6Ou6PkpMym1q95TGmA+DNmg4iXud4FCdlWPiNVuML3Sl+zBakQd8sosgiGCp5k0qQSFu3l8G20oUoWs0iKmdgJZSdWkZupsrXDoWCmmvC+rHVsxKwQ7YrLgGejLUD7N1uDKO28sfOgPzOGNzSwFO+dZf6RKoyMn/WiudpwFW0/KV/bhv7Uklb5qd4O2nl8yKeoz5o5qCG4Pw7qXsJn8rSY1ytyCU6hCX8dVnN8aQ+MgfSyXPr7rEeeVQkOiNHrI5XLc1Dmiu4khoDf2yn1d/A61fgEwCMClLihOXyc+Qcw4bBgKTcJA5JeMuD39jTmFOLbipIHrFrLpTHOAi1G48uS1o2VWKFOgsA+QphVwdT0zo84oeLminykXxBtGB6YUuiWxLVXbLNET5t6BxskQcMKfCYy5+6Y1TCf3yzYlkqmFvoq/Tu8Z9IAxrT3Bx6IgGOV+njgGszm7PWIy9Doi84sic=
|
|
|
|
|
2016-09-01 22:40:47 +00:00
|
|
|
os:
|
|
|
|
- linux
|
2016-09-02 01:53:57 +00:00
|
|
|
- osx
|
2016-09-01 22:33:41 +00:00
|
|
|
|
2016-09-01 23:13:50 +00:00
|
|
|
before_install:
|
2016-09-02 01:53:57 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install p7zip; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y p7zip-full; fi
|
2016-09-01 23:13:50 +00:00
|
|
|
|
2016-09-01 22:33:41 +00:00
|
|
|
install:
|
2016-09-02 01:53:57 +00:00
|
|
|
- npm install
|
2016-09-02 01:57:07 +00:00
|
|
|
- npm install -g electron-packager
|
2016-09-01 22:33:41 +00:00
|
|
|
|
|
|
|
script:
|
2016-09-02 01:53:57 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then npm run macbuild; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm run linuxbuild; fi
|
2016-09-01 23:13:50 +00:00
|
|
|
|
2016-09-02 01:24:31 +00:00
|
|
|
before_deploy:
|
2016-09-06 23:24:34 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 7z a -tzip -mx9 BloodHound-darwin-x64-$TRAVIS_COMMIT.zip BloodHound-darwin-x64 > /dev/null; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 7z a -tzip -mx9 BloodHound-linux-ia32-$TRAVIS_COMMIT.zip BloodHound-linux-ia32 > /dev/null; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 7z a -tzip -mx9 BloodHound-linux-x64-$TRAVIS_COMMIT.zip BloodHound-linux-x64 > /dev/null; fi
|
2016-10-11 18:53:47 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 7z a -tzip -mx9 BloodHound-linux-armv7l-$TRAVIS_COMMIT.zip BloodHound-linux-armv7l > /dev/null; fi
|
2016-09-02 01:16:27 +00:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
2016-09-02 01:51:27 +00:00
|
|
|
script: /bin/bash deploy.sh
|
2016-09-02 01:24:31 +00:00
|
|
|
skip_cleanup: true
|
2016-09-02 01:17:39 +00:00
|
|
|
on:
|
2016-09-02 12:38:03 +00:00
|
|
|
branch: master
|
2016-09-02 02:27:58 +00:00
|
|
|
|
|
|
|
notifications:
|
2016-09-02 13:17:18 +00:00
|
|
|
email: false
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|