forked from ifumagalli/dolfin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitbucket-pipelines.yml
84 lines (83 loc) · 4 KB
/
bitbucket-pipelines.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
image: quay.io/fenicsproject/dev-env:latest
pipelines:
#default:
# - step:
# script:
# - pip3 install git+https://bitbucket.org/fenics-project/fiat.git@master
# - pip3 install git+https://bitbucket.org/fenics-project/ufl.git@master
# - pip3 install git+https://bitbucket.org/fenics-project/dijitso.git@master
# - pip3 install git+https://bitbucket.org/fenics-project/instant.git@master
# - pip3 install git+https://bitbucket.org/fenics-project/ffc.git@master
# - mkdir -p build
# - cd build
# - cmake .. -DCMAKE_BUILD_TYPE=Debug -DDOLFIN_ENABLE_TESTING=ON
# - make
# - make install
# - source /usr/local/share/dolfin/dolfin.conf
# - make run_quicktest
custom: # Pipelines that are triggered manually
quick-test: # Run quick tests
- step:
script:
- git remote add http-origin https://bitbucket.org/"${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}".git
- git lfs pull http-origin
- pip3 install git+https://bitbucket.org/fenics-project/fiat.git@master
- pip3 install git+https://bitbucket.org/fenics-project/ufl.git@master
- pip3 install git+https://bitbucket.org/fenics-project/dijitso.git@master
- pip3 install git+https://bitbucket.org/fenics-project/instant.git@master
- pip3 install git+https://bitbucket.org/fenics-project/ffc.git@master
- mkdir -p build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DDOLFIN_ENABLE_TESTING=ON
- make
- make install
- source /usr/local/share/dolfin/dolfin.conf
- make run_quicktest
full-test: # Run all tests
- step:
script:
- git remote add http-origin https://bitbucket.org/"${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}".git
- git lfs pull http-origin
- pip3 install git+https://bitbucket.org/fenics-project/fiat.git@master
- pip3 install git+https://bitbucket.org/fenics-project/ufl.git@master
- pip3 install git+https://bitbucket.org/fenics-project/dijitso.git@master
- pip3 install git+https://bitbucket.org/fenics-project/instant.git@master
- pip3 install git+https://bitbucket.org/fenics-project/ffc.git@master
- mkdir -p build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DDOLFIN_ENABLE_TESTING=ON
- make
- make install
- source /usr/local/share/dolfin/dolfin.conf
- make runtests
branches:
master:
- step:
script:
- pip3 install git+https://bitbucket.org/fenics-project/fiat.git@master
- pip3 install git+https://bitbucket.org/fenics-project/ufl.git@master
- pip3 install git+https://bitbucket.org/fenics-project/dijitso.git@master
- pip3 install git+https://bitbucket.org/fenics-project/instant.git@master
- pip3 install git+https://bitbucket.org/fenics-project/ffc.git@master
- mkdir -p build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DDOLFIN_ENABLE_TESTING=ON
- make
- make install
- source /usr/local/share/dolfin/dolfin.conf
- make run_quicktest
next:
- step:
script:
- pip3 install git+https://bitbucket.org/fenics-project/fiat.git@next
- pip3 install git+https://bitbucket.org/fenics-project/ufl.git@next
- pip3 install git+https://bitbucket.org/fenics-project/dijitso.git@next
- pip3 install git+https://bitbucket.org/fenics-project/instant.git@next
- pip3 install git+https://bitbucket.org/fenics-project/ffc.git@next
- mkdir -p build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DDOLFIN_ENABLE_TESTING=ON
- make
- make install
- source /usr/local/share/dolfin/dolfin.conf
- make run_quicktest