File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,28 @@ jobs:
7272 - name : " Set autoloader suffix"
7373 run : " composer config autoloader-suffix PHPStanChecksum"
7474
75+ - name : " Install libfaketime"
76+ run : " sudo apt-get install -y libfaketime"
77+
78+ - name : " Test libfaketime"
79+ run : " date"
80+ env :
81+ FAKETIME : 2017-10-11 08:58:00
82+ LD_PRELOAD : /usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
83+
84+ - name : " Reset timestamps"
85+ run : ' find . -type f -exec touch {} +'
86+ env :
87+ FAKETIME : 2017-10-11 08:58:00
88+ LD_PRELOAD : /usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
89+
7590 - name : " Compile PHAR for checksum"
7691 working-directory : " compiler/build"
7792 run : " php box.phar compile --no-parallel"
7893 env :
7994 PHAR_CHECKSUM : " 1"
95+ FAKETIME : 2017-10-11 08:58:00
96+ LD_PRELOAD : /usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
8097
8198 - name : " Unset autoloader suffix"
8299 run : " composer config autoloader-suffix --unset"
You can’t perform that action at this time.
0 commit comments