diff options
-rw-r--r-- | .travis.yml | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index f6ca131..d8f4149 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -15,6 +15,8 @@ install: | |||
15 | - bash scripts/gogetcookie.sh | 15 | - bash scripts/gogetcookie.sh |
16 | 16 | ||
17 | script: | 17 | script: |
18 | - make build | ||
19 | - mv "$GOPATH/bin/terraform-provider-mailgun" "terraform-provider-mailgun-$TRAVIS_TAG-linux_amd64" | ||
18 | - make test | 20 | - make test |
19 | - make vet | 21 | - make vet |
20 | - make website-test | 22 | - make website-test |
@@ -22,15 +24,21 @@ script: | |||
22 | - make website-githubpages | 24 | - make website-githubpages |
23 | 25 | ||
24 | deploy: | 26 | deploy: |
25 | provider: pages | 27 | - provider: pages |
26 | skip_cleanup: true | 28 | skip_cleanup: true |
27 | github_token: "$GITHUB_TOKEN" | 29 | github_token: "$GITHUB_TOKEN" |
28 | target_branch: gh-pages | 30 | target_branch: gh-pages |
29 | keep_history: true | 31 | keep_history: true |
30 | local_dir: terraform-provider-website | 32 | local_dir: terraform-provider-website |
31 | on: | 33 | on: |
32 | branch: master | 34 | branch: master |
33 | 35 | - provider: releases | |
36 | api_key: "$GITHUB_TOKEN" | ||
37 | file: "terraform-provider-mailgun-$TRAVIS_TAG-linux_amd64" | ||
38 | skip_cleanup: true | ||
39 | on: | ||
40 | tags: true | ||
41 | |||
34 | matrix: | 42 | matrix: |
35 | fast_finish: true | 43 | fast_finish: true |
36 | allow_failures: | 44 | allow_failures: |