-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
32 lines (28 loc) · 944 Bytes
/
.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
dist: focal
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- pkg-config
cache:
directories:
- $HOME/.cache/apt
before_install:
- echo "Installing C++ and Python"
- sudo apt-get update && sudo apt-get install -y --no-install-recommends --no-install-suggests build-essential g++ python-dev python3-dev python3-pip libc-dev python3-venv openmpi-bin libopenmpi-dev libomp-dev lammps
- sudo apt-get install gsl-bin libgsl0-dev libboost-all-dev imagemagick-6.q16 inkscape
- cp /var/cache/apt/archives/*.deb $HOME/.cache/apt/
- export BOOST_LIBDIR=/usr/lib/x86_64-linux-gnu/
- rm Gemfile.lock
jobs:
include:
- stage: test
script:
- sed -i 's/%use/#%use/' bin/npassemblylab-frontend.ipynb
- sed -i 's/0000/000/' bin/infiles/in.lammps.template
- sed -i 's/lmp_g++/lmp/' bin/Makefile
- make all
- cd bin && ./test.sh
name: test