1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

Added Travis CI

This commit is contained in:
Bumsik Kim 2018-06-17 20:14:40 -04:00
parent 8c65910f27
commit ec88e497fa
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
4 changed files with 47 additions and 14 deletions

View file

@ -1,23 +0,0 @@
# Or bionic
FROM ubuntu:latest
LABEL author="Bumsik Kim <k.bumsik@gmail.com>"
WORKDIR /app
CMD ["/bin/bash"]
RUN apt-get update && \
apt-get install -y python3-all python3-pip fakeroot debmake debhelper fakeroot wget tar && \
apt-get autoremove -y && \
ln /usr/bin/python3 /usr/bin/python && \
ln /usr/bin/pip3 /usr/bin/pip && \
rm -rf /var/cache/apt/archives/*.deb && \
pip install virtualenv && \
pip install --upgrade pip setuptools && \
useradd -c Builder -m -U builder
USER builder
# Get Miniconda and make it the main Python interpreter
RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
bash ~/miniconda.sh -b -p ~/miniconda && \
rm ~/miniconda.sh

View file

@ -7,7 +7,6 @@ SHELL = /bin/bash
install:
# Create virtualenv
install -d $(DESTDIR)$(prefix)/share/virtscreen
virtualenv $(DESTDIR)$(prefix)/share/virtscreen/env --always-copy
source $(HOME)/miniconda/bin/activate && \
conda create -y --copy --prefix $(DESTDIR)$(prefix)/share/virtscreen/env python=3.6
source $(HOME)/miniconda/bin/activate && \