File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -73,11 +73,23 @@ before_install:
7373
7474install :
7575 # Maybe get and clean and patch source
76- - clean_code $REPO_DIR $OPENBLAS_COMMIT
76+ - |
77+ if [ ${TRAVIS_EVENT_TYPE} == "cron" ]; then
78+ clean_code $REPO_DIR develop
79+ else
80+ clean_code $REPO_DIR $OPENBLAS_COMMIT
81+ fi
7782
7883script :
7984 # Build library and collect into libs subdirectory
80- - build_lib "$PLAT" "$INTERFACE64"
85+ - |
86+ if [ ${TRAVIS_EVENT_TYPE} == "cron" ]; then
87+ build_lib "$PLAT" "$INTERFACE64" 1
88+ version=$(cd OpenBLAS && git describe --tags --abbrev=8 | sed -e "s/^v\(.*\)-g.*/\1/" | sed -e "s/-/./g")
89+ sed -e "s/^version = .*/version = \"${version}\"/" -i.bak pyproject.toml
90+ else
91+ build_lib "$PLAT" "$INTERFACE64" 0
92+ fi
8193 - libc=${MB_ML_LIBC:-manylinux}
8294 - docker_image=quay.io/pypa/${libc}${MB_ML_VER}_${PLAT}
8395 - docker run --rm -e INTERFACE64="${INTERFACE64}" \
You can’t perform that action at this time.
0 commit comments