-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
83 lines (75 loc) · 2.19 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
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
sudo: false
dist: bionic
matrix:
include:
- language: common-lisp
addons:
apt:
packages:
- clisp
- sbcl
before_script:
- cd cl
script:
- clisp overlapintegrals.lisp
- sbcl --script overlapintegrals.lisp
- language: cpp
addons:
apt:
packages:
- catch
- libboost-all-dev
before_script:
- cd cpp
- mkdir -p build
- cd build
- cmake ..
- make
script:
- ./main.x
- language: julia
julia: 1.3
before_script:
- cd julia/OverlapIntegrals
# Cribbed from
# https://github.com/mratsim/Arraymancer/blob/407cae439d5f1f76431251c28a7e6fc9652444e3/.travis.yml#L66
- language: c # nim
before_install:
- export CHANNEL=stable
- export CHOOSENIM_NO_ANALYTICS=1
- curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
- sh init.sh -y
- export PATH=~/.nimble/bin:$PATH
- echo "export PATH=~/.nimble/bin:$PATH" >> ~/.profile
- choosenim $CHANNEL
before_script:
- cd nim
script:
- nim c -r overlapintegrals.nim
- language: python
python: 3.7
before_install:
- cd python
- pip install -r requirements.txt
script:
- python -m pytest
# Cribbed from
# https://github.com/greghendershott/travis-racket/blob/2945afacf99c9109ee79d92f6f04c08b27be22fe/.travis.yml#L63
- language: c # racket
before_install:
- export RACKET_VERSION=7.5
- export RACKET_DIR=~/racket
# Repo history and other branches aren't useful here, so do a shallow
# clone to only download the tip of the master branch of the repo.
- git clone --depth 1 https://github.com/greghendershott/travis-racket.git
- cat travis-racket/install-racket.sh | bash # pipe to bash not sh!
- export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us
before_script:
- cd racket
script:
- raco test .
- language: rust
rust: stable
cache: cargo
before_install:
cd rust/overlapintegrals