-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcircle.yml
53 lines (46 loc) · 1.39 KB
/
circle.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
version: 2
jobs:
build:
docker:
- image: python:3.7
environment:
MPLBACKEND: "agg"
steps:
- checkout
- run:
name: install gmsh
command: |
wget http://gmsh.info/bin/Linux/gmsh-4.1.5-Linux64.tgz
tar xzf gmsh-4.1.5-Linux64.tgz
apt-get update
apt-get install -y libglu1-mesa
cp gmsh-4.1.5-Linux64/bin/gmsh /usr/local/bin
- run:
name: flake8 tests
command: |
pip3 install flake8
python3 -m flake8 minidolfin
python3 -m flake8 demo
- run:
name: Install minidolfin
command: |
pip3 install -r requirements.txt
pip3 install .
- run:
name: Environment and FFC version info
command: |
echo $USER $HOME $PWD $PATH $LD_LIBRARY_PATH $CMAKE_PREFIX_PATH
python3 -c'import ffc, ffc.git_commit_hash; \
print(ffc.git_commit_hash.git_commit_hash())'
- run:
name: Test demo (JIT)
command: |
cd demo
python3 helmholtz.py -d -n 4
python3 helmholtz-complex.py
python3 mesh_demo.py
python3 mesh_demo_3d.py
python3 elasticity.py
python3 elasticity_3d.py
python3 gmsh_demo.py
python3 curl-curl-cavity.py