forked from E3SM-Project/E3SM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (39 loc) · 960 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
41
42
43
44
45
46
os: linux
dist: bionic
git:
submodules: false
python:
- "3.7"
addons:
apt:
packages:
- flawfinder
- squashfs-tools
- build-essential
- uuid-dev
- libuuid1
- libffi-dev
- libssl-dev
- libssl1.0.0
- libarchive-dev
- libgpgme11-dev
- libseccomp-dev
- pkg-config
- cryptsetup-bin
homebrew:
packages:
- squashfs
update: true
sudo: required
before_install:
# Replace all ssh URLs to submodules with HTTP URLs
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
- git submodule update --init
# Download the E3SM Singularity container
- wget https://dabdceba-6d04-11e5-ba46-22000b92c6ec.e.globus.org/containers/public/e3sm.sif
# Install Singularity
- sudo chmod u+x .travis/*.sh
- .travis/setup.sh
script:
# Build a case
- travis_wait 30 singularity exec --hostname singularity e3sm.sif .travis/run.sh