1 Star 0 Fork 0

吉祥水/hyperdeal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
Peter Munch 提交于 2020-08-29 23:04 . Add Travis CI
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jixiangshui/hyperdeal.git
git@gitee.com:jixiangshui/hyperdeal.git
jixiangshui
hyperdeal
hyperdeal
master

搜索帮助