first test for travis without docker

This commit is contained in:
knoxfighter 2020-01-29 01:23:51 +01:00
parent fd4fa6b342
commit 757941b107
2 changed files with 7 additions and 7 deletions

View File

@ -3,13 +3,14 @@ jobs:
- stage: deploy
go: 1.x
language: minimal
before_install:
- docker build -f "docker/Dockerfile-build" -t factorio-server-manager docker
# before_install:
# - docker build -f "docker/Dockerfile-build" -t factorio-server-manager docker
script:
- pwd
- echo ~
- mkdir -p /home/travis/build/mroote/build
- docker run -t -e FAC_BRANCH=$TRAVIS_BRANCH -v /home/travis/build/mroote/build:/build factorio-server-manager
# - pwd
# - echo ~
# - mkdir -p /home/travis/build/mroote/build
# - docker run -t -e FAC_BRANCH=$TRAVIS_BRANCH -v /home/travis/build/mroote/build:/build factorio-server-manager
- make gen_release
- mv /home/travis/build/mroote/build/factorio-server-manager-linux.zip /home/travis/factorio-server-manager-linux-${TRAVIS_TAG}.zip
- mv /home/travis/build/mroote/build/factorio-server-manager-windows.zip /home/travis/factorio-server-manager-windows-${TRAVIS_TAG}.zip
deploy:

View File

@ -13,7 +13,6 @@ endif
build: $(release)
build/factorio-server-manager-%.zip: clean app/bundle factorio-server-manager-%
@echo "Test if the correct is built!!"
@mkdir -p build/
@echo "Packaging Build - $@"
@cp -r app/ factorio-server-manager/