Skip to content

Commit 5ba66ed

Browse files
committed
Update TravisCI to use reproducible settings
1 parent 9daefda commit 5ba66ed

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ os: osx
55

66
env:
77
global:
8+
- ZERO_AR_DATE=1
9+
- TZ=UTC
10+
- LC_ALL=C
811
- CACHE="${HOME}/.local"
912
- MPICH_VER="3.2.1"
1013
- MPICH_URL_HEAD="https://www.mpich.org/static/downloads/${MPICH_VER}"
@@ -102,6 +105,8 @@ install:
102105

103106
script:
104107
- pwd
108+
- export SOURCE_DATE_EPOCH=$(git show -s --format=%ct $TRAVIS_COMMIT)
109+
- echo "SOURCE_DATE_EPOCH = ${COURCE_DATE_EPOCH}"
105110
- ./developer-scripts/travis/test-script.${BUILD_TYPE:-cmake}.sh
106111

107112
after_script:

developer-scripts/travis/test-script.cmake.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ for version in ${GCC}; do
6868
ctest "${CTEST_FLAGS[@]}"
6969
fi
7070
make install
71+
make hash_installed
72+
make install
7173
make uninstall
7274
)
7375
done

0 commit comments

Comments
 (0)