-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
45 lines (40 loc) · 1.12 KB
/
shippable.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
## Simple buildup configuration file for the Shippable-CI service (https://app.shippable.com)
##
## see: http://docs.shippable.com/en/latest/samples/index.html
## see: https://github.com/sympy/csympy/blob/b5b126d6465e6f6293edffb0342258b3fb8a30d3/.travis.yml
##
## This script can be also adapted for travis-ci
##
# language settings - prepare Python environment
language: python
# install/upgrade needed software
install:
# install the newest versions
- sudo apt-get update
- sudo apt-get autoclean
- sudo apt-get clean
- sudo apt-get install gfortran cmake wget
# system info
before_script:
# show info about available processors
- lscpu
- echo nproc=$(nproc)
# show available disc space
- df -h
# show available memory
- free -m
# configure, build optimized code and run
script:
- python ./setup --fc=gfortran build_gfortran
- cd build_gfortran
- make
- bin/example
# next round
- cd ..
- python ./setup --fc=gfortran --int64 build_gfortran_int64
- cd build_gfortran_int64
- make
- bin/example
# turn off email notifications
notifications:
email: false