forked from ucphhpc/nbi-jupyter-docker-stacks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·46 lines (43 loc) · 2.52 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
os: linux
dist: bionic
services: docker
env:
jobs:
- NOTEBOOK=base-notebook
- NOTEBOOK=python-notebook
- NOTEBOOK=r-notebook
- NOTEBOOK=slurm-notebook
- NOTEBOOK=python-cuda-notebook
- NOTEBOOK=gpu-notebook
- NOTEBOOK=dgx1-notebook
- NOTEBOOK=datascience-notebook
- NOTEBOOK=chemistry-notebook
- NOTEBOOK=fenics-notebook
- NOTEBOOK=qsharp-notebook
- NOTEBOOK=statistics-notebook
- NOTEBOOK=tomography-notebook
- NOTEBOOK=hpc-notebook
- NOTEBOOK=hpc-ocean-notebook
- NOTEBOOK=ocean-notebook
- NOTEBOOK=geo-notebook
- NOTEBOOK=bio-notebook
- NOTEBOOK=sme-notebook
global:
- COMMIT=${TRAVIS_COMMIT::12}
- RELEASE_VERS=latest
- secure: PICm4yJOlywFyntG/Te3D7YoRIzSWvjhWgy1cDlDFxO3spghmatu2H1mEkkgnwvp+TKRlojT5GNEH3ihWRxxtqcFZC/FCUjJwxlOb/t9C1gdj3QVIvALV6IFf96eAGv7B9NCgErAnKyiOV7A7Lu1q9CwJ6ImBo8CGzNU6mAcRyGD4Is3wOD5HxXziUM3OVRutONQPfXXhNmt55OUMPBe3heCrMN1yaERlhy2QR35Uir5zC9ZFYq4C4oy0siDErRgVAm6Lv3qySz4tGebkMw7ToYRxJ2WdrImywqYgTwcOnR8bsWI6EfaxIeZWpK1d21VqG/SxrJXkYfA4hzK5KWVtoxZ54GOePUoIquKkYRoZ7ABOXZDoVKLeDGzVAGk6veiD8gs0hsC5tnI2KX3e00xDruIhfa+yquHOnNXPcm+Xu58r+pmyfnc9nuJfO61Y00GBCDsdFPnG/y608dLUadghTwGOoYxslLQtztJTHGUBK9yblnW/OvYz9H8dh/qAvWH0/jkj2vetFE3CyrTiShztBtZosu5UWUiEMAfgMSB9d2w3/W+S3N9O+5qSJ+pYK6zf43lcm2riTyxdVkZlZYZii+Znuq6xBwBMwyZdcrxK37LmMYx45O+qsWkBMcz51ryCpicqM4SY17xY8LpXMaxea7ld47kXCDLhkZxUrU0cmc=
- secure: m5+SLMV5xjvUx8p/Bq9RpytyYHh7k/rDz+AnefU1/eJ20Q66RYb94ANzBg8fiv5PpnLgLfgKneXiG4+woNUZXOZntnnYTUw4PTfLCZc4c4Lea0ef+sM0FvGPA3a1o3DI/94yMC20sfXNNU/ZouGs1DPo63V4zSP3RBIGNXInpbiYUlJq83mgAAxWWKHDBybIJbtTgCYU05DugvID4e0thVqhVwIi+cK9YGneA8/wg8XtBicRs2l7ny5QO1PDXJjPzdrT2bha8HsGWFoAnQ5bef43NpRMrXU7KJ4BKgxH/QNg8IO+OntSI4ANZyOB94Q43zWipsx6L1nwhs0G4EfnfFFs1MbBNafWDgsc18qGEmSUfCHmAyTuUdbfTjFwCCF4rj5eomiYnnA2aXcj7SqeGMm6Czpu1Z5OZ4172h5qPDLmVMumuW8dQbklN/Ejo95TsArB2VRHqGwUX3W5sx74k2ocaRW2rNJBHGR28YAtKjAnSSn8x7DrTHRNIb+YQtl1C6VgZ1Shs9nG8z6CtReAvOTh+puMTDEOrt13XTF0uFj97EjnoO5sRz/rYo91Yf4PPdFgVPuvfvoZYdwvscbP+Lxr/BtJZHr0LUErd+Zj8Lw224ZR5Ox996o3y7bTHVYonbegAQOyUCus+OJrSX8f1cMUvnSga2ADadD88VG9o58=
if: commit_message =~ ^.*\[ci\].*$ OR tag IS present
script:
- travis_wait 70 make build/"${NOTEBOOK}"
- make test/"${NOTEBOOK}"
before_deploy:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
# deploy_notebook uses COMMIT and RELEASE_VERS envars
deploy:
provider: script
script: bash deploy_notebook.sh
skip_cleanup: true
on:
all_branches: true
condition: $TRAVIS_COMMIT_MESSAGE =~ ^.*\[deploy\].*$ || $TRAVIS_BRANCH = weekly_build