7 Star 45 Fork 26

xiaodi/think-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.96 KB
一键复制 编辑 原始数据 按行查看 历史
Eden Leung 提交于 2021-04-09 10:29 . Update .travis.yml
language: php
php:
- "7.4"
script:
- php -v
- composer self-update
- composer global require phpstan/phpstan
- composer install
- composer analyze
cache:
directories:
- "$HOME/.composer/cache"
before_deploy:
#- openssl aes-256-cbc -K $encrypted_8c755eb21658_key -iv $encrypted_8c755eb21658_iv -in travis.enc -out ~/.ssh/travis -d
#- chmod 600 ~/.ssh/travis
- composer self-update
- composer install --no-dev --no-interaction --ignore-platform-reqs
- zip -r --exclude='*.git*' --exclude='*.zip' --exclude='*.travis.yml' TAnt_Full.zip .
- export DOCKER_CLI_EXPERIMENTAL=enabled
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- cp .env.example .env
- chmod -R 777 runtime
- docker build -t xiaodi93/ant-design-admin:latest -f docker/Dockerfile .
- docker push xiaodi93/ant-design-admin:latest
#- scp -i ~/.ssh/travis deploy.yml root@47.56.158.125:server/tant_admin_deploy.yml
#- ssh -i ~/.ssh/travis root@47.56.158.125 "docker stack deploy -c server/tant_admin_deploy.yml tant_admin"
addons:
ssh_known_hosts: 47.56.158.125
deploy:
provider: releases
api_key:
secure: rMCKulorfzZakJZtfjVLeuwG2x4G+cu+SgCLypL9CJDAYnE9RWMEL1sBFqcXdu45HchMh3SxlK/Vshg1KlHOvRSr6N21EvAAvdg45n47tT1kUJO41H2zFfl3r1WaQlZA/ZgEcCtBsEgnzDvhNEecIGGuXK7NYfFNbz6g3VyrbMruunx3I0FrzyxCO5uU8Urk5P6q1ElQT1jS2MpyMod/XdVgDEesN1MTX5hVcfVTquF0qBoUqNx3Kau6EweTKXsmLmiw1UxNPYbBKKIQ8tj+51aZHMulsKTIuHAdTIE/KplRpgITU9WYyGN6kKIn6tWWkt8Ti90yo9bh4PrCgs8K8ZHOqzGbIBMpAdj9PFOSS10/jRvqez4TjfCcWRnINupIQygpL1uHKzVyfidJ/eyPfBa0KkCKJimDH2Fp2yJdD0YgzV50vHCcuYwihuOD58UurL2HaxdwjnoIElDv38jaHl6NESvPp0kZzXnYqLEVmmP36LzBWB+TZD79EC9RLMd/5zrtkpeIiAaLVNjegcIcZSfjCy3TRGI1KcOpynZdqBAS4d9kKirycSeefoVKi9j7Av/KqZlyq34vT6gNyvdPD1X5UrUPcUiIdx5zBF/Bpm9bk2sWeONh5f18nots7BYyBmPEHmcbvzSLxLfCxFe6qOc2gU8TEIS+xeZcsrIeeP0=
file:
- "/home/travis/build/edenleung/think-admin/TAnt_Full.zip"
skip_cleanup: true
overwrite: true
on:
repo: edenleung/think-admin
tags: true
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/heehee/think-admin.git
git@gitee.com:heehee/think-admin.git
heehee
think-admin
think-admin
6.0-next

搜索帮助