Skip to content

Commit 4893b49

Browse files
committed
Merge branch 'common-diffpy-patches'
2 parents e36462b + bef0e51 commit 4893b49

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ branches:
2727

2828
before_install:
2929
- MYNAME=libobjcryst
30+
- MYCOMMIT="$(git rev-parse HEAD)"
3031
# travis virtual hosts have 2 cores as per https://goo.gl/DQy4oW
3132
- MYNCPU=2
3233
- umask 022
@@ -62,7 +63,7 @@ before_install:
6263
- $NOMC || wget --timestamping ${MYMCREPO}/${MYMCBUNDLE}
6364
- $NOMC || test -x ~/mc/bin/conda || bash ${MYMCBUNDLE} -b -f -p ~/mc
6465
- $NOMC || popd
65-
- $NOMC || source ~/mc/bin/activate root
66+
- $NOMC || source ~/mc/bin/activate base
6667
- $NOMC || conda update --yes conda
6768
- $NOMC || conda install --yes conda-build jinja2
6869
- $NOMC || conda create --name=testenv --yes $MYCXXCOMPILER
@@ -106,8 +107,8 @@ install:
106107
- MYLIB="${MYPREFIX}/lib"
107108
- MYVERSION="${MYINCLUDE}/ObjCryst/version.h"
108109
- MYGIT_REV=$(grep '^#define LIBOBJCRYST_GIT_COMMIT' "$MYVERSION" | cut -d '"' -f 2)
109-
- if [[ "${TRAVIS_COMMIT}" != "${MYGIT_REV}" ]]; then
110-
echo "Version mismatch ${TRAVIS_COMMIT} vs ${MYGIT_REV}.";
110+
- if [[ "${MYCOMMIT}" != "${MYGIT_REV}" ]]; then
111+
echo "Version mismatch ${MYCOMMIT} vs ${MYGIT_REV}.";
111112
exit 1;
112113
fi
113114

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ sudo apt-get install build-essential scons libboost-dev
3535
```
3636

3737
libobjcryst is also available as a pre-compiled package for
38-
[Anaconda Python](https://www.continuum.io/downloads) and it
38+
[Anaconda Python](https://www.anaconda.com/download) and it
3939
gets automatically installed together with pyobjcryst for
4040
Anaconda.
4141

site_scons/gitarchive.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
commit = $Format:%H$
2-
date = $Format:%ai$
2+
date = $Format:%ci$
33
refnames = $Format:%D$

site_scons/libobjcrystbuildutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def gitinfo():
3434
if proc.wait():
3535
_cached_gitinfo = {}
3636
return gitinfo()
37-
proc = Popen(['git', 'log', '-1', '--format=%H %ai'], **kw)
37+
proc = Popen(['git', 'log', '-1', '--format=%H %ci'], **kw)
3838
glog = proc.stdout.read()
3939
words = desc.strip().split('-')
4040
vtag = words[0].lstrip('v')

0 commit comments

Comments
 (0)