feature: implement 'cache:ttl()' method #67
Travis CI / Travis CI - Pull Request
succeeded
Oct 6, 2025 in 2m 7s
Build Passed
The build passed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #67 feature: implement 'cache:ttl()' method.
Any changes that have been made to the master branch before the build ran are also included.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
| Build Option | Setting |
|---|---|
| Language | C |
| Operating System | Linux (Bionic) |
| Compiler Version | gcc |
Build Configuration
{
"language": "c",
"os": [
"linux"
],
"dist": "bionic",
"branches": {
"only": [
"master"
]
},
"sudo": false,
"compiler": [
"gcc"
],
"env": [
"global={:JOBS=>\"3\"}={:NGX_BUILD_JOBS=>\"$JOBS\"}={:LUAJIT_PREFIX=>\"$TRAVIS_BUILD_DIR/luajit\"}={:LUAJIT_LIB=>\"$LUAJIT_PREFIX/lib\"}={:LUAJIT_INC=>\"$LUAJIT_PREFIX/include/luajit-2.1\"}={:LD_LIBRARY_PATH=>\"$LUAJIT_LIB:$LD_LIBRARY_PATH\"}={:TEST_NGINX_SLEEP=>\"0.006\"}={:TEST_NGINX_RANDOMIZE=>\"1\"} jobs={:NGINX_VERSION=>\"1.27.1\"}"
],
"install": [
"export NGX_BUILD_CC=$CC",
"export PATH=$PWD/work/nginx/sbin:$PWD/nginx-devel-utils:$PATH",
"sudo apt-get install -qq -y axel",
"cpanm --sudo --notest Test::Nginx > build.log 2>&1 || (cat build.log && exit 1)",
"git clone https://github.com/openresty/openresty.git ../openresty",
"git clone https://github.com/openresty/nginx-devel-utils.git",
"git clone https://github.com/simpl/ngx_devel_kit.git ../ndk-nginx-module",
"git clone https://github.com/openresty/lua-nginx-module.git ../lua-nginx-module",
"git clone https://github.com/openresty/lua-resty-core.git ../lua-resty-core",
"git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx",
"git clone -b v2.1-agentzh https://github.com/openresty/luajit2.git",
"pushd luajit2/",
"make -j$JOBS CCDEBUG=-g Q= PREFIX=$LUAJIT_PREFIX CC=$CC XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT' > build.log 2>&1 || (cat build.log && exit 1)",
"make install PREFIX=$LUAJIT_PREFIX > build.log 2>&1 || (cat build.log && exit 1)",
"popd",
"ngx-build $NGINX_VERSION --add-module=../ndk-nginx-module --add-module=../lua-nginx-module --with-debug > build.log 2>&1 || (cat build.log && exit 1)",
"nginx -V",
"ldd `which nginx`|grep -E 'luajit|ssl|pcre'"
],
"script": [
"make lint",
"prove -j$JOBS -I. -r t/"
]
}
Loading