1 Star 1 Fork 0

幸运的wannnng/kanban

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 998 Bytes
一键复制 编辑 原始数据 按行查看 历史
王宇 提交于 2021-07-05 12:27 . init wangyu
dist: focal
sudo: required
env:
TRAVIS_DOCKER_COMPOSE_VERSION: 1.24.0
TRAVIS_NODE_VERSION: 12.22.1
TRAVIS_NPM_VERSION: latest
before_install:
- sudo apt-get update -y
- npm install -g npm@${TRAVIS_NPM_VERSION}
- sudo curl -fsSL https://get.docker.com/ | sh
- if [ -e /usr/local/bin/docker-compose ]; then sudo rm /usr/local/bin/docker-compose; fi
- sudo curl -L https://github.com/docker/compose/releases/download/${TRAVIS_DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- sudo chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- sudo docker-compose build --no-cache --force-rm
- sudo docker-compose up -d wekandb
- sudo docker-compose up -d wekan
# ^^ Note - need to come up with some way of checking the output from docker run
# that it was a success... perhaps the nodejs server can output a success message?
language: node_js
node_js:
- "${TRAVIS_NODE_VERSION}"
install:
- "npm install"
script:
- "npm test"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wannnng/kanban.git
git@gitee.com:wannnng/kanban.git
wannnng
kanban
kanban
master

搜索帮助