-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
40 lines (33 loc) · 896 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: cpp
matrix:
include:
# macOS/Linux builds - libMesh version 1.5.1
#- os: osx
# osx_image: xcode10.2
# env: LIBMESH_VERSION=1.5.1
- os: linux
dist: bionic
env: LIBMESH_VERSION=1.5.1
# Doxygen documentation build
- os: linux
dist: bionic
env: CI_BUILD_DOCS=true CI_DEPLOY_DOCS=true LIBMESH_VERSION=1.5.1
before_install:
- ci/build_dependencies.sh
install:
- ci/get_libmesh.sh
script:
- ci/build_mast.sh
before_deploy:
- openssl aes-256-cbc -K $encrypted_db2095f63ba3_key -iv $encrypted_db2095f63ba3_iv -in doc/deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
deploy:
provider: script
script: bash ci/deploy_docs.sh
skip_cleanup: true
on:
all_branches: true
repo: MASTmultiphysics/MAST3
condition: ${CI_DEPLOY_DOCS} = true