Skip to content

Commit

Permalink
Switch to using xenial build environment on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Nicholls committed May 7, 2019
1 parent 5ae354c commit 37c0fbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sudo: false
dist: xenial
language: python
python:
- "2.7"
Expand All @@ -12,7 +12,7 @@ install:
- source venv/bin/activate
- |
if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then
pip install "cothread==2.16"
pip install git+https://github.com/dls-controls/cothread.git
fi
- pip install -r requirements.txt
- pip install git+https://github.com/dls-controls/pytac.git
Expand Down
2 changes: 1 addition & 1 deletion atip/at_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __init__(self, at_lattice, callback=None):
raise TypeError("If passed, 'callback' should be callable, {0} is "
"not.".format(callback))
self._at_lat = at_lattice
self._rp = numpy.ones(len(at_lattice), dtype=bool) # faster option?
self._rp = numpy.ones(len(at_lattice), dtype=bool)
# Initial phys data calculation.
self._at_lat.radiation_on()
self._emittance = self._at_lat.ohmi_envelope(self._rp)
Expand Down

0 comments on commit 37c0fbe

Please sign in to comment.