iperf3exporter/vendor/github.com/google/rpmpack/.travis.yml
Marvin Preuss 2343c9588a
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
first commit
2021-10-20 10:08:56 +02:00

29 lines
727 B
YAML

language: go
dist: xenial
# Packages required for bazel
addons:
apt:
packages:
- pkg-config
- zip
- g++
- zlib1g-dev
- unzip
- python
jobs:
include:
- stage: using go tests
script: go test ${gobuild_args} ./...
- stage: bazel build and test
before_install:
- curl -L -o "bazel-installer" https://github.com/bazelbuild/bazel/releases/download/0.29.0/bazel-0.29.0-installer-linux-x86_64.sh
- bash bazel-installer --user
script:
- ~/bin/bazel build --curses=no //:all
- ~/bin/bazel test --test_output=all --curses=no //:all
- cd example_bazel
- ~/bin/bazel build --curses=no //:all
- ~/bin/bazel test --test_output=all --curses=no //:all