forked from noroute/addon-terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 1.84 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
# -------------------------------------------------------------------------- #
# Copyright 2002-2019, OpenNebula Project, OpenNebula Systems #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. You may obtain #
# a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "AS IS" BASIS, #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
# See the License for the specific language governing permissions and #
# limitations under the License. #
#--------------------------------------------------------------------------- #
dist: xenial
language: go
go:
- 1.12.x
before_install:
- wget -q -O- https://downloads.opennebula.org/repo/repo.key | sudo apt-key add -
- sudo sh -c 'echo "deb https://downloads.opennebula.org/repo/5.8/Ubuntu/16.04 stable opennebula" > /etc/apt/sources.list.d/opennebula.list'
- sudo apt-get update && sudo apt-get install opennebula
- source /home/travis/.rvm/scripts/rvm
- rvm repair wrappers
- rvmsudo /usr/share/one/install_gems --yes
- go get -t -v ./...
before_script:
- source .travis/before_script/oned.sh
script:
- set -o errexit; source .travis/tests/terraform.sh
after_success:
- bash <(curl -s https://codecov.io/bash) -t 04b3a535-ef4b-4eda-8495-63b8ec1c5eb8