-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
57 lines (48 loc) · 1.37 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
# - this job also progresses to deployment when on master branch
- os: linux
dist: bionic
env: CI_BUILD_DOCS=true CI_DEPLOY_DOCS=true LIBMESH_VERSION=1.5.1
# macOS/Linux builds - libMesh version 1.4.1
- os: osx
osx_image: xcode10.2
env: LIBMESH_VERSION=1.4.1
- os: linux
dist: bionic
env: LIBMESH_VERSION=1.4.1
# macOS/Linux builds - libMesh version 1.3.1
- os: osx
osx_image: xcode10.2
env: LIBMESH_VERSION=1.3.1
- os: linux
dist: xenial
env: LIBMESH_VERSION=1.3.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/mast-multiphysics
condition: ${CI_DEPLOY_DOCS} = true