diff options
author | paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com> | 2019-08-06 15:36:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-06 15:36:50 +0200 |
commit | 08124993804598f9042c577f88e1823ba600af33 (patch) | |
tree | 0c5bf81d19568da09ad6d8aff9a6c81b1962bd0d /.travis.yml | |
parent | 6775dea7c26c00e11e2cabeb06bce07fd63ddc61 (diff) | |
parent | a642be475aa5885f691919827f4aa976c47d9aaf (diff) | |
download | terraform-provider-mailgun-0.1.0.tar.gz terraform-provider-mailgun-0.1.0.tar.zst terraform-provider-mailgun-0.1.0.zip |
ci: compile provider during testing phase
Diffstat (limited to '.travis.yml')
-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: |