-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to python casacore 3.3.1, test on Python 3.8 (#116)
* Upgrade to python-casacore 3.3.1 * Add Python 3.8 to travis testing matrix
- Loading branch information
Showing
4 changed files
with
27 additions
and
1 deletion.
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
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,20 @@ | ||
FROM kernsuite/base:5 | ||
|
||
# Install base requirements | ||
RUN DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:deadsnakes/ppa -y | ||
RUN DEBIAN_FRONTEND=noninteractive apt update -y | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y build-essential curl git python3-distutils python3.8 python3.8-dev | ||
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | ||
RUN python3.8 get-pip.py | ||
ADD . /code | ||
WORKDIR /code | ||
|
||
# Test without xarray | ||
RUN python3.8 -m pip install .[testing] | ||
RUN python3.8 -m pip freeze | ||
RUN python3.8 -m pytest --flake8 -s -vvv /code/daskms | ||
|
||
# Test with xarray | ||
RUN python3.8 -m pip install .[testing,xarray] | ||
RUN python3.8 -m pip freeze | ||
RUN python3.8 -m pytest --flake8 -s -vvv /code/daskms |
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
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