Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
sudo: required
language: bash
services:
- docker
env:
global:
- BAZEL_IMG="quay.io/coreos/tectonic-builder:bazel-v0.3"
branches:
only:
- master
jobs:
include:
- stage: Lint & Test
# Terraform lint
script: docker run -v $(pwd):/data -t quay.io/coreos/tflint
# YAML lint
- script: >
docker run -t -v $(pwd):/workdir
quay.io/coreos/yamllint --config-data
'{extends: default, rules: {line-length: {level: warning, max: 120}}}'
./examples/ ./installer/
# Go lint
#- script: "docker run -v $PWD:$PWD -w $PWD quay.io/coreos/golang-testing golint -set_exit_status installer/..."
- script: "docker run -v $PWD:$PWD -w $PWD quay.io/coreos/golang-testing golint installer/..."
# Terraform tests
- script: "chmod 0777 $PWD && docker run -v $PWD:$PWD:rw -w $PWD $BAZEL_IMG bazel test terraform_fmt --test_output=all"
# Installer unit tests
- script: "chmod 0777 $PWD && docker run -v $PWD:$PWD:rw -w $PWD $BAZEL_IMG bazel test installer:cli_units --test_output=all"
- stage: Build
script: "chmod 0777 $PWD && docker run -v $PWD:$PWD:rw -w $PWD $BAZEL_IMG bazel build tarball"
2 changes: 1 addition & 1 deletion examples/tectonic.libvirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ admin:
# To use Azure-provided DNS, `BaseDomain` should be set to `""`
# If using DNS records, ensure that `BaseDomain` is set to a properly configured external DNS zone.
# Instructions for configuring delegated domains for Azure DNS can be found here: https://docs.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns
baseDomain:
baseDomain:

libvirt:
uri: "qemu:///system"
Expand Down