From eb4dec8d892656e7054910b2ce8e7dcf2c71707e Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Tue, 22 Sep 2020 10:15:18 -0400 Subject: [PATCH] run irctest in travis --- .gitmodules | 3 +++ .travis.yml | 5 ++++- Makefile | 6 +++++- irctest | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) create mode 160000 irctest diff --git a/.gitmodules b/.gitmodules index e69de29b..97f9e3b3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "irctest"] + path = irctest + url = https://github.com/oragono/irctest diff --git a/.travis.yml b/.travis.yml index db22526a..2760f056 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: go +dist: focal + go: - "1.15.x" @@ -8,6 +10,7 @@ before_install: - sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6' script: -- make +- make install - make test - make smoke +- make irctest diff --git a/Makefile b/Makefile index 748f36e0..5cccb9a0 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all install build release capdefs test smoke gofmt +.PHONY: all install build release capdefs test smoke gofmt irctest GIT_COMMIT := $(shell git rev-parse HEAD 2> /dev/null) @@ -39,3 +39,7 @@ smoke: gofmt: ./.check-gofmt.sh --fix + +irctest: + git submodule update --init + cd irctest && make integration diff --git a/irctest b/irctest new file mode 160000 index 00000000..0287b837 --- /dev/null +++ b/irctest @@ -0,0 +1 @@ +Subproject commit 0287b837971c27ee55bc4dca95d31afc68d2aeea