Skip to content
Snippets Groups Projects
Commit c4f70f57 authored by Jan Caron's avatar Jan Caron
Browse files

Short test with ubuntu:16.04 and on the fly installation of miniconda.

parent c1ca4128
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,7 @@
image: ubuntu:16.04
before_script:
# # Check and print Python version
# - python --version
# Create SSH configuration directory if necessary (also parents with -p, mode: read/write/exec):
......@@ -89,13 +90,14 @@ before_script:
# Provide read access to owner (octal value code: 400) to known_hosts with chmod:
- chmod 400 ~/.ssh/known_hosts
# Script from Ingo Heimabach:
# Script from Ingo Heimbach:
- apt-get update
- apt-get install -y curl bzip2
- apt-get install -y curl bzip2 git
- curl -O -L https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- chmod +x Miniconda3-latest-Linux-x86_64.sh
- ./Miniconda3-latest-Linux-x86_64.sh -b -p /opt/miniconda3
- export PATH="/opt/miniconda3/bin:${PATH}"
- apt-cache policy git
# - conda create -y -n pyramid python
# - source activate test_env
# - conda install -y numpy
......@@ -111,7 +113,7 @@ test_conda:
script:
# Install requirements:
- conda info --envs
- conda env create -y -q # -q: quiet/ no progressbar, because it spams the log!
- conda env create -q # -q: quiet/ no progressbar, because it spams the log!
- source activate pyramid
- conda info --envs
# Install jutil via secure ssh connection:
......
......@@ -50,9 +50,3 @@ dependencies:
# - pip:
# # ALSO NEEDS JUTIL!
# - "git+ssh://gitlab@iffgit.fz-juelich.de/unger/jutil.git"
#
# # FOLLOWING NOT USED ANYMORE, CONDA WORKS, TOO (with appropriate channels):
# # Install pyFFTW=0.10 from wheel:
# - http://www.lfd.uci.edu/~gohlke/pythonlibs/pyFFTW‑0.10.4‑cp35‑cp35m‑win_amd64.whl
# # Install mayavi=4.5 and VTK from wheel:
# - http://www.lfd.uci.edu/~gohlke/pythonlibs/mayavi‑4.5.0+vtk71‑cp35‑cp35m‑win_amd64.whl
......@@ -7,7 +7,7 @@ import re
import subprocess
import sys
import itertools
from distutils.command.build import build
#from distutils.command.build import build
#import numpy
from setuptools import setup, find_packages
......@@ -168,6 +168,6 @@ setup(name=DISTNAME,
#tests_require=['pytest', 'pytest-cov', 'pytest-flake8'],
install_requires=install_requires,
extras_require=extras_require,
cmdclass={'build': build} # TODO: necessary?
#cmdclass={'build': build} # TODO: necessary?
)
print('-------------------------------------------------------------------------------\n')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment