Commit d11d9594 authored by nanahira's avatar nanahira Committed by GitHub

Update .travis.yml

parent 2562e9e8
services: services:
- docker - docker
script: script:
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin # - echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
- docker build -t mycard/ygopro-server:latest . - docker build -t mycard/ygopro-server:latest .
- mkdir output dist - mkdir output dist
- docker run --rm -v "$PWD/output:/output" mycard/ygopro-server:latest -e 'require("child_process").execSync("cp -rf ./* /output")' - docker run --rm -v "$PWD/output:/output" mycard/ygopro-server:latest -e 'require("child_process").execSync("cp -rf ./* /output")'
- cd output && tar -zcf ../dist/ygopro-server.tar.gz --format=posix --exclude='.git*' ./* && cd .. - cd output && tar -zcf ../dist/ygopro-server.tar.gz --format=posix --exclude='.git*' ./* && cd ..
- docker push mycard/ygopro-server:latest # - docker push mycard/ygopro-server:latest
deploy: deploy:
provider: s3 provider: s3
access_key_id: ztDf0fCxr0eCgSIi access_key_id: ztDf0fCxr0eCgSIi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment