代码拉取完成,页面将自动刷新
language: cpp
os: linux
notifications:
email: false
# webhooks: https://www.travisbuddy.com/
addons:
apt:
packages:
- docker-ce
services:
- docker
matrix:
include:
- name: Compile and ctest
stage: build
env: STEP=compile_and_test
before_script:
- if [ "$STEP" = "compile_and_test" ]; then
docker pull dealii/dealii:master-focal;
fi
script:
- if [ "$STEP" = "compile_and_test" ]; then
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
docker run -i -t dealii/dealii:master-focal /bin/sh -c "git clone https://github.com/$TRAVIS_REPO_SLUG hyperdeal && cd hyperdeal && git checkout $TRAVIS_BRANCH && mkdir build && cd build && cmake ../ -DCMAKE_BUILD_TYPE=Release && make -j2 && ctest -V";
else
docker run -i -t dealii/dealii:master-focal /bin/sh -c "git clone https://github.com/$TRAVIS_PULL_REQUEST_SLUG hyperdeal && cd hyperdeal && git checkout $TRAVIS_PULL_REQUEST_BRANCH && mkdir build && cd build && cmake ../ -DCMAKE_BUILD_TYPE=Release && make -j2 && ctest -V";
fi
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。