Skip to content

Commit

Permalink
Test with python 3.9 and 3.10-dev (#379)
Browse files Browse the repository at this point in the history
Review: @jayich
  • Loading branch information
maffoo authored Jun 3, 2021
1 parent e510234 commit 3f4d484
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ sudo: false
python:
- "3.7"
- "3.8"
- "3.9-dev"
- "3.9"
- "3.10-dev"
matrix:
allow_failures:
- python: "3.9-dev"
- python: "3.10-dev"
install:
- sed 's/>=/==/' requirements.txt > exact_requirements.txt
- pip install -r exact_requirements.txt
- pip install .
- pip install pytest coveralls
env:
- SCALABRAD_VERSION=0.8.0
- SCALABRAD_VERSION=0.8.3
cache:
directories:
- $HOME/scalabrad-$SCALABRAD_VERSION
Expand Down
6 changes: 4 additions & 2 deletions scripts/test/install-scalabrad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
# exit on any error
set -e

ARCHIVE=scalabrad-${SCALABRAD_VERSION}.tar.gz
ARCHIVE="scalabrad-${SCALABRAD_VERSION}.tar.gz"

URL_BASE="https://github.com/labrad/scalabrad/releases/download/v${SCALABRAD_VERSION}"

# check to see if scalabrad folder is empty
if [ ! -d "$HOME/scalabrad-${SCALABRAD_VERSION}/bin" ]; then
wget https://bintray.com/artifact/download/labrad/generic/$ARCHIVE -O $HOME/$ARCHIVE;
wget "${URL_BASE}/${ARCHIVE}" -O "${HOME}/${ARCHIVE}";
cd $HOME && tar -xvf $ARCHIVE;
else
echo "Using cached scalabrad-${VERSION}.";
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
Operating System :: OS Independent
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering"""

import os
Expand Down

0 comments on commit 3f4d484

Please sign in to comment.