Skip to content

Commit

Permalink
Merge pull request #34 from pfernique/master
Browse files Browse the repository at this point in the history
Docker
  • Loading branch information
pfernique committed Aug 19, 2016
2 parents 43bf56f + 45a91f9 commit ac7843e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM statiskit/ubuntu:trusty

# Clone the repository
RUN git clone https://github.com/StatisKit/AutoWIG.git $HOME/AutoWIG

# Build recipes
RUN $HOME/miniconda/bin/conda build $HOME/AutoWIG/conda/python-clang -c statiskit
RUN $HOME/miniconda/bin/conda build $HOME/AutoWIG/conda/python-autowig -c statiskit -c conda-forge

# Create a file for anaconda upload
RUN touch $HOME/upload.sh
RUN echo "$HOME/miniconda/bin/anaconda upload `conda build $HOME/AutoWIG/conda/python-clang --output` --user statiskit --force" >> $HOME/upload.sh
RUN echo "$HOME/miniconda/bin/anaconda upload `conda build $HOME/AutoWIG/conda/python-autowig --output` --user statiskit --force" >> $HOME/upload.sh

# Install packages
RUN $HOME/miniconda/bin/conda install python-clang -c statiskit --use-local
RUN $HOME/miniconda/bin/conda install python-autowig -c statiskit -c conda-forge --use-local
3 changes: 2 additions & 1 deletion conda/python-autowig/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ test:
- python-clanglite
- gitpython
commands:
- nosetests {{ SRC_DIR }} -v --with-coverage --cover-package=autowig
- cd {{ SRC_DIR }}
- nosetests -v --with-coverage --cover-package=autowig
7 changes: 0 additions & 7 deletions upload.sh

This file was deleted.

0 comments on commit ac7843e

Please sign in to comment.