-
Notifications
You must be signed in to change notification settings - Fork 43
/
.travis.yml
37 lines (35 loc) · 1.43 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
language: python
install:
- lsb_release -a
- sudo apt-get update
- sudo apt-get install
python3-minimal libparted-dev libaugeas0
pkg-config gcc cryptsetup lvm2 liblzo2-dev
nilfs-tools reiserfsprogs xfsprogs e2fsprogs btrfs-tools gdisk
- sudo apt-get build-dep btrfs-tools
- which python3
- wget
https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
https://raw.github.com/pypa/pip/master/contrib/get-pip.py
https://mirrors.kernel.org/ubuntu/pool/main/a/augeas/libaugeas0_1.0.0-0ubuntu1_amd64.deb
- curl --compressed https://raw.github.com/g2p/kernels/master/linux.uml -o tests/linux.uml
- chmod +x tests/linux.uml
- sudo dpkg -i libaugeas0*deb
- export PATH=$PATH:$HOME/.local/bin:$PWD/btrfs-progs
- export PIP_USE_MIRRORS=true PIP_DOWNLOAD_CACHE=~/.cache/pip
- python3.3 ez_setup.py --user
- easy_install-3.3 --user pip
- python3.3 -m pip install --user
-e. git+https://github.com/g2p/python-augeas.git@v0.4.2a1#egg=python-augeas
https://github.com/g2p/pyparted/archive/pyparted-3.10a1.tar.gz#egg=pyparted
git+https://github.com/g2p/vido.git#egg=vido
coverage
- git clone https://github.com/g2p/bcache-tools.git
- git clone https://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
- make -C btrfs-progs version.h btrfs-show-super
- make -C bcache-tools
- sudo make -C bcache-tools install
- sudo mkdir -vp /etc/lvm/backup /etc/lvm/archive
- sudo ln -Tsf /proc/mounts /etc/mtab
script:
- make -C tests