summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephen Sorriaux <stephen.sorriaux@gmail.com>2021-08-05 22:28:38 -0400
committerStephen Sorriaux <stephen.sorriaux@gmail.com>2021-08-05 23:53:49 -0400
commit8eb462f26cb7af090d863850f71618594620d223 (patch)
tree25f5e911e79e58b4d304102f2badf194049e5b92 /Makefile
parent6337fd6f72b59fb20886f980f2e0d6d41525dc35 (diff)
downloadkazoo-8eb462f26cb7af090d863850f71618594620d223.tar.gz
chore(ci): Replace Travis with Github Actionsfeat/github-actions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b03c20f..f49c3c9 100644
--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,11 @@ BUILD_DIRS = bin build include lib lib64 man share
PYTHON_EXE = $(shell [ -f $(PYTHON) ] && echo $(PYTHON) || echo python)
PYPY = $(shell $(PYTHON_EXE) -c "import sys; print(getattr(sys, 'pypy_version_info', False) and 'yes' or 'no')")
-TRAVIS ?= false
-TRAVIS_PYTHON_VERSION ?= $(shell $(PYTHON_EXE) -c "import sys; print('.'.join([str(s) for s in sys.version_info][:2]))")
+CI ?= false
+CI_PYTHON_VERSION ?= $(shell $(PYTHON_EXE) -c "import sys; print('.'.join([str(s) for s in sys.version_info][:2]))")
GREENLET_SUPPORTED = yes
-ifeq ($(findstring 3.,$(TRAVIS_PYTHON_VERSION)), 3.)
+ifeq ($(findstring 3.,$(CI_PYTHON_VERSION)), 3.)
GREENLET_SUPPORTED = no
VENV_CMD = $(PYTHON_EXE) -m venv .
else
@@ -33,7 +33,7 @@ ifeq ($(GREENLET_SUPPORTED),yes)
$(INSTALL) -U -r requirements_eventlet.txt
$(INSTALL) -U -r requirements_gevent.txt
endif
-ifneq ($(TRAVIS), true)
+ifneq ($(CI), true)
$(INSTALL) -U -r requirements_sphinx.txt
endif
$(INSTALL) -U -r requirements.txt