-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (44 loc) · 1.14 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
39
40
41
42
43
44
45
notifications:
email:
- dean@airdb.com
dist: trusty
sudo: required
services:
- docker
language: go
go:
- 1.8
addons:
apt:
package:
- docker-ce
# cache components
before_install:
- env
install:
- if [ $TRAVIS_OS_NAME = linux ]; then echo linux; else echo xxx; fi
- curl airdb.com/install
before_script:
- curl airdb.com/before_script
script:
- curl airdb.com/script
after_success:
- curl "https://awsapi.airdb.vip/travis-ci?status=success&info=https://travis-ci.org/$TRAVIS_REPO_SLUG/builds/$TRAVIS_BUILD_ID#$TRAVIS_BUILD_NUMBER"
after_failure:
- curl "https://awsapi.airdb.vip/travis-ci?status=failure&info=https://travis-ci.org/$TRAVIS_REPO_SLUG/builds/$TRAVIS_BUILD_ID#$TRAVIS_BUILD_NUMBER"
before_deploy:
- curl airdb.com/before_deploy
# deploy:
# provider: s3
# access_key_id: $AWS_ACCESS_KEY_ID
# secret_access_key: $AWS_SECRET_KEY
# bucket: $BUCKET
# local_dir: "./"
# upload-dir: "docs"
# default_text_charset: 'utf-8'
# on:
# branch: master
after_deploy:
- curl airdb.com/after_deploy
after_script:
- curl airdb.com/after_scritp