-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
38 lines (34 loc) · 1.71 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
sudo: required
language: go
services:
- docker
go:
- 1.8.x
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
install:
- IMAGE_LABLE=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} make release
script:
- echo "test skip"
deploy:
- provider: releases
api_key:
secure: t8Jxfwx+7rzb5JRfvcskytLJ4qtgJ2QMpyXGw97Wbw4S0sOYm3fORgvJ3y2pe3tXK2YlsLCUPdU6S2QrChU0wkNnqQQMmnr8Z2eBUwSzxPpUOgWI3HPkG9nJVvnx1YCjb6pk9iR2RGofuAuCrAQpKVpKoS+gfUXCE6X6jDQ3VnxSe9c0mMQ9mtsGKvqF8WBTfxjZKyQwYmfgpWYSFG0l/ElFJdD165PGSGiTzczkeianp5NL5K1XkDKY1UrUIGXYOrA1v4i8as4M96qvBRSdvMDfmnvK3MgzMI6JlIXBIacXEBxu+c4N/qrjdSdRPMqYHSBYOklzjwS1IdhZI5rT4bRAOqtk6HJpzLrPOGRHtKGWY6qLzLlyWu7buJmAMgM/VolF9SJm/tJiP8OgIXBPhZNNln0jxdSLjBK/chdrYP+1Fpun1UCSNCzAsOkg1mit5K74Cl/HIFRu83bxCAddhSrGoCCgP5zdYzShEdnJ5u/e/2ArvplezmZvBjbZ6WYTRvAZIvaQZHtn+KhAjEEy0DoG/JklFBOXy9DP9/DYITV+YAiWMwOmgDS4ye/9b25QBv8ncZf7bf0u+NDtPHonajYaY9IL8gzwBfBt/UK4hUsKsTJid9hKUktRRm1XiKPH+Wk0kFvlHyhXojEtFUhamZS/8+aPS/63srnrpdMbaO8=
file: bin/qingcloud-flex-volume.tar.gz
skip_cleanup: true
overwrite: true
on:
repo: yunify/qingcloud-volume-provisioner
tags: true
- provider: script
script: IMAGE_LABLE=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} make publish
skip_cleanup: true
on:
tags: true
after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker login -u="$QING_DOCKER_USER" -p="$QING_DOCKER_PASSWD" dockerhub.qingcloud.com
- IMAGE_LABLE=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} make install-docker