remove travis ci

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/482/head
Kang Huaishuai 2020-12-20 23:22:30 +08:00
parent 2cd0fac44b
commit aa3d56fce9
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
7 changed files with 1 additions and 70 deletions

View File

@ -51,7 +51,6 @@ jobs:
"security.ubuntu.com/ubuntu",\ "security.ubuntu.com/ubuntu",\
"nginx.com",\ "nginx.com",\
"img.shields.io/github/release/yeasy/docker_practice",\ "img.shields.io/github/release/yeasy/docker_practice",\
"travis-ci.org/yeasy/docker_practice.svg",\
"launchpad.net",\ "launchpad.net",\
"www.w3.org/1999",\ "www.w3.org/1999",\
"chat.freenode.net",\ "chat.freenode.net",\

View File

@ -99,7 +99,7 @@ jobs:
PCIT_GIT_URL: github.com/docker-practice/vuepress PCIT_GIT_URL: github.com/docker-practice/vuepress
PCIT_KEEP_HISTORY: "true" PCIT_KEEP_HISTORY: "true"
PCIT_LOCAL_DIR: .vuepress/dist PCIT_LOCAL_DIR: .vuepress/dist
PCIT_MESSAGE: Sync from yeasy/docker_practice@${{github.sha}} by PCIT PCIT_MESSAGE: Build from yeasy/docker_practice@${{github.sha}}
PCIT_TARGET_BRANCH: master PCIT_TARGET_BRANCH: master
PCIT_USERNAME: khs1994 PCIT_USERNAME: khs1994
- name: Set coding.net CNAME - name: Set coding.net CNAME

View File

@ -222,7 +222,6 @@ module.exports = config({
'drone/install' 'drone/install'
] ]
}, },
'travis/'
], ],
'/': [ '/': [
'/', '/',

View File

@ -146,7 +146,6 @@
* [GitHub Actions](cases/ci/actions/README.md) * [GitHub Actions](cases/ci/actions/README.md)
* [Drone](cases/ci/drone/README.md) * [Drone](cases/ci/drone/README.md)
* [ Drone](cases/ci/drone/install.md) * [ Drone](cases/ci/drone/install.md)
* [Travis CI](cases/ci/travis/README.md)
* [ IDE 使 Docker](ide/README.md) * [ IDE 使 Docker](ide/README.md)
* [VS Code](ide/vsCode.md) * [VS Code](ide/vsCode.md)
* [podman - Linux ](podman/README.md) * [podman - Linux ](podman/README.md)

View File

@ -1,47 +0,0 @@
# Travis CI 使 Docker
GitHub [Travis CI](https://travis-ci.com/) 会根据项目根目录 `.travis.yml` 文件设置的指令,执行一系列操作。
Travis CI 使 Docker /CI/CD GitHub Docker Docker Hub
##
https://travis-ci.com/account/repositories 选择 GitHub 仓库,按照指引安装 GitHub App 来启用 GitHub 仓库构建。
`Dockerfile`
```docker
FROM alpine
RUN echo "Hello World"
```
Travis CI `.travis.yml`
```yml
language: bash
dist: xenial
services:
- docker
before_script:
# docker hub
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
script:
#
- echo "test code"
after_success:
#
- docker build -t username/alpine .
- docker push username/alpine
```
> Travis CI `DOCKER_PASSWORD` `DOCKER_USERNAME`
##
GitHub [Travis CI](https://travis-ci.com/) 查看构建详情。

View File

@ -1,16 +0,0 @@
language: bash
dist: xenial
services:
- docker
before_script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
script:
- echo "test code"
after_success:
- docker build -t username/alpine .
- docker push username/alpine

View File

@ -1,3 +0,0 @@
FROM alpine
RUN echo "Hello World"