-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pre-built docker image for development and CI
- Loading branch information
Andrey Fedoseev
committed
Feb 10, 2018
1 parent
92c7b21
commit d2d64c7
Showing
4 changed files
with
19 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,21 +3,12 @@ jobs: | |
build: | ||
working_directory: ~/django-static-precompiler | ||
docker: | ||
- image: ubuntu:16.04 | ||
- image: andreyfedoseev/django-static-precompiler | ||
steps: | ||
- run: apt-get update && apt-get install -y python2.7-dev python3.5-dev python3-pip sqlite3 ruby-dev npm | ||
- run: ln -s /usr/bin/nodejs /usr/local/bin/node | ||
- run: npm install -g [email protected] | ||
- run: npm install -g [email protected] | ||
- run: npm install -g [email protected] | ||
- run: npm install -g [email protected] | ||
- run: npm install -g [email protected] | ||
- run: npm install -g [email protected] | ||
- run: gem install sass -v 3.4.22 | ||
- run: gem install compass -v 1.0.1 | ||
- run: apt-get update && apt-get install -y python2.7-dev python3.5-dev python-pip sqlite3 | ||
- checkout | ||
- run: pip3 install -r requirements-ci.txt | ||
- run: pip3 install -e .[libsass] | ||
- run: pip install -r requirements-ci.txt | ||
- run: pip install -e .[libsass] | ||
- run: flake8 | ||
- run: rm -f coverage.xml | ||
- run: tox | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
FROM ubuntu:16.04 | ||
FROM andreyfedoseev/django-static-precompiler | ||
MAINTAINER Andrey Fedoseev <[email protected]> | ||
RUN apt-get update && apt-get install -y python2.7-dev python3.5-dev python-pip sqlite3 ruby-dev npm | ||
RUN ln -s /usr/bin/nodejs /usr/local/bin/node | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN gem install sass -v 3.4.22 | ||
RUN gem install compass -v 1.0.1 | ||
RUN apt-get update && apt-get install -y python2.7-dev python3.5-dev python-pip sqlite3 | ||
RUN mkdir /app | ||
WORKDIR /app | ||
ADD requirements-*.txt /app/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM ubuntu:16.04 | ||
MAINTAINER Andrey Fedoseev <[email protected]> | ||
RUN apt-get update && apt-get install -y autoconf libtool ruby-dev npm | ||
RUN ln -s /usr/bin/nodejs /usr/local/bin/node | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN gem install sass -v 3.4.22 | ||
RUN gem install compass -v 1.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Django<2.0 | ||
pytest | ||
pytest-django==3.1.2 | ||
pretend | ||
|