mirror of
https://github.com/nicolabs/nicobot.git
synced 2025-09-05 17:15:36 +02:00
+ build dependencies
~ moving dependencies installation before build (how could this work before ?) + slixmpp explicit dependency (was pulled by slixmpp-omemo)
This commit is contained in:
parent
ea1cddfdf3
commit
d3e35d58f4
18
.travis.yml
18
.travis.yml
|
@ -12,12 +12,28 @@ jobs:
|
|||
os: osx
|
||||
osx_image: xcode11.2 # Python 3.7.4 running on macOS 10.14.4
|
||||
language: shell # 'language: python' is an error on Travis CI macOS
|
||||
# Build requisites (only some of them)
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
# See the Dockerfiles for more details about those dependencies
|
||||
- build-essential
|
||||
- cmake
|
||||
- g++
|
||||
- git
|
||||
- libffi-dev
|
||||
- libssl-dev
|
||||
- make
|
||||
- python3-dev
|
||||
- rustc
|
||||
homebrew:
|
||||
packages: rust
|
||||
install:
|
||||
- pip3 install -r requirements-build.txt -r requirements-runtime.txt
|
||||
# Generates nicobot/version.py
|
||||
# 'python' points to Python 2.7 on macOS but points to Python 3.8 on Linux and Windows
|
||||
# 'python3' is a 'command not found' error on Windows but 'py' works on Windows only
|
||||
- python3 setup.py build || python setup.py build
|
||||
- pip3 install -r requirements-build.txt -r requirements-runtime.txt
|
||||
script:
|
||||
# 'python' points to Python 2.7 on macOS but points to Python 3.8 on Linux and Windows
|
||||
# 'python3' is a 'command not found' error on Windows but 'py' works on Windows only
|
||||
|
|
8
Makefile
8
Makefile
|
@ -1,4 +1,8 @@
|
|||
clean:
|
||||
rm -rf build
|
||||
|
||||
build:
|
||||
pip3 install --upgrade -r requirements-build.txt -r requirements-runtime.txt
|
||||
python3 setup.py build sdist bdist_wheel
|
||||
|
||||
build-docker-alpine:
|
||||
|
@ -24,3 +28,7 @@ docker-askbot:
|
|||
|
||||
docker-transbot:
|
||||
docker run --rm -it nicolabs/nicobot:debian transbot $(ARGS)
|
||||
|
||||
# All targets might be declared phony, since this Makefile is just a helper
|
||||
# However most just don't match a file/directory so they will work without it
|
||||
.PHONY: build test
|
||||
|
|
|
@ -11,4 +11,5 @@ emoji-country-flag
|
|||
pyyaml
|
||||
|
||||
##### Requirements for jabber #####
|
||||
slixmpp
|
||||
slixmpp-omemo
|
||||
|
|
Loading…
Reference in a new issue