travis: improve build process and expand build matrix
Make a build heriarchy to reduce images size. Add Android Things builds to build matrix. Drop gcc-4 builds, use gcc-5 and gcc-6 instead. Add SonarQube static analysis scans. Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
This commit is contained in:
16
docker/Dockerfile.python
Normal file
16
docker/Dockerfile.python
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM upm-base
|
||||
|
||||
# Update apt-get
|
||||
RUN apt-get -y update && \
|
||||
# Python Build Dependencies
|
||||
apt-get -y --no-install-recommends install python-mraa python3-mraa \
|
||||
python python-dev python3 python3-dev python-pip python3-pip
|
||||
|
||||
# Install Python Test Dependencies
|
||||
RUN pip install chardet && pip3 install chardet
|
||||
|
||||
# Set Workdir
|
||||
WORKDIR $UPM_SRC_DIR
|
||||
|
||||
CMD bash
|
||||
|
||||
Reference in New Issue
Block a user