-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test caching of astrometry and using libcfitsio packages #712
Conversation
Testing cfitsio-bin and cfitsio* as packages instead of libcfitsio(-dev|-bin|5). Travis not updated to more recent Ubuntu release, probably a good reason to use a container approach for building as that will probably provide us more choices of base images.
.travis.yml
Outdated
@@ -49,13 +50,21 @@ addons: | |||
- libbz2-dev | |||
- swig | |||
- cfitsio-dev | |||
- cfitsio | |||
- cfitsio* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the cfitsio* just be one line? And looks like this is failing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, doesn't work at all. I'll have to stick with the current install method for the moment.
.travis.yml
Outdated
@@ -8,8 +8,9 @@ python: | |||
env: | |||
- PANDIR=$HOME POCS=$TRAVIS_BUILD_DIR PANUSER=$USER ARDUINO_VERSION=1.8.1 | |||
before_install: | |||
- pwd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this just to see in logs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
.travis.yml
Outdated
cd astrometry.net-0.72 && \ | ||
make && \ | ||
make py && \ | ||
make install INSTALL_DIR=$PANDIR/astrometry && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dangling &&
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack. Will probably make more submits (errors) before I'm ready to request a review.
Not sure if this error was related to the IERS A bulletin or due to astrometry.net being offline: ``` $ python pocs/utils/data.py --folder $PANDIR/astrometry/data Downloading http://maia.usno.navy.mil/ser7/finals2000A.all |==========================================| 3.2M/3.2M (100.00%) 0s Failed to download IERS A bulletin: invalid literal for int() with base 10: 'N' ```
Testing a pytest hook addition to workaround the error with the contents of the IERS Bulletin A. The hook calls an astroplan method that installs a workaround IFF the bulletin couldn't be downloaded.
Codecov Report
@@ Coverage Diff @@
## develop #712 +/- ##
===========================================
- Coverage 80.09% 80.03% -0.06%
===========================================
Files 61 61
Lines 5078 5078
Branches 693 693
===========================================
- Hits 4067 4064 -3
- Misses 817 820 +3
Partials 194 194
Continue to review full report at Codecov.
|
Remove uses of sudo, remove "sudo: required", which apparently can unlock better performance. Incrementally add to PATH as packages are installed.
Previous attempt with "arduino --version" to show the version number failed. Current version (1.8.7) documentation claims that command works. Let's see.
Closing in favor of other changes. |
No description provided.