move env only to install

This commit is contained in:
Cassiano Aquino 2019-10-02 18:46:08 +01:00
parent 4986950ffb
commit 760a94a0fe
No known key found for this signature in database
GPG Key ID: 2480258091054B09

View File

@ -22,8 +22,9 @@ before_script:
- sudo apt-get -y update
- sudo apt-get -y install qemu-user-static binfmt-support qemu bmap-tools kpartx
- sudo update-binfmts --display
- sudo -E env "PATH=$PATH" make install
script:
- sudo -E env "PATH=$PATH" make -e PWN_HOSTNAME="pwnagotchi" VERSION="$TRAVIS_TAG"
- sudo make -e PWN_HOSTNAME="pwnagotchi" VERSION="$TRAVIS_TAG"
# TODO: deploy!