File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,10 @@ branches:
29
29
addons :
30
30
apt :
31
31
packages :
32
+ - python-dev
32
33
- python-numpy
33
34
- python-setuptools
35
+ - build-essential
34
36
35
37
before_install :
36
38
- umask 022
@@ -53,6 +55,7 @@ before_install:
53
55
esac
54
56
55
57
- mkdir -p ~/pkgs/
58
+ - mkdir -p ~/rundir/
56
59
57
60
- $NOMC || pushd ~/pkgs/
58
61
- $NOMC || wget --timestamping ${MYMCREPO}/${MYMCBUNDLE}
@@ -61,9 +64,8 @@ before_install:
61
64
- $NOMC || export PATH="${HOME}/mc/bin:${PATH}"
62
65
- $NOMC || conda update --yes conda
63
66
- $NOMC || conda install --yes conda-build jinja2
64
- - $NOMC || conda config --add channels pavoljuhas/channel/dev
65
- - $NOMC || conda config --add channels pavoljuhas
66
67
- $NOMC || conda create --name=testenv --yes python=${MYPYTHON_VERSION} coverage
68
+ - $NOMC || conda config --add channels diffpy
67
69
68
70
- $NOAPT || test "${TRAVIS_OS_NAME}" = "linux" || exit $?
69
71
- $NOAPT || devutils/makesdist
@@ -78,9 +80,10 @@ install:
78
80
diffpy.structure pyobjcryst diffpy.srreal srfit-sasview
79
81
80
82
- $NOAPT || pip install $MYPIPFLAGS coverage
83
+ - $NOAPT || easy_install --user diffpy.Structure
81
84
- $NOAPT || easy_install --user "${MYTARBUNDLE}"
82
85
83
- - cd
86
+ - cd ~/rundir
84
87
- MYGIT_REV=$(python -c "import diffpy.srfit.version as v; print(v.__gitsha__)")
85
88
- if [[ "${TRAVIS_COMMIT}" != "${MYGIT_REV}" ]]; then
86
89
echo "Version mismatch ${TRAVIS_COMMIT} vs ${MYGIT_REV}.";
You can’t perform that action at this time.
0 commit comments