Skip to content

Commit

Permalink
Use an external kernel for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
g2p committed Apr 20, 2013
1 parent 8322640 commit c86fb55
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/*.egg-info/
/build/
/dist/
/tests/linux.uml
/tests/before*
/tests/after*
/tests/keyfile
Expand Down
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,26 @@ install:
- sudo apt-get build-dep btrfs-tools
- which python3
- wget
https://raw.github.com/pypa/pip/master/contrib/get-pip.py
http://python-distribute.org/distribute_setup.py
https://mirrors.kernel.org/ubuntu//pool/main/a/augeas/libaugeas0_1.0.0-0ubuntu1_amd64.deb
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/enter-uml:$PWD/btrfs-progs
- export PIP_USE_MIRRORS=true PIP_DOWNLOAD_CACHE=~/.cache
- python3.3 distribute_setup.py --user
- export PATH=$PATH:$HOME/.local/bin
- easy_install-3.3 --user pip
- export PIP_USE_MIRRORS=true PIP_DOWNLOAD_CACHE=~/.cache
- pip-3.3 install --user
-e. -e git+https://github.com/g2p/[email protected]#egg=python-augeas
https://github.com/g2p/pyparted/archive/pyparted-3.10a1.tar.gz#egg=pyparted
coverage
- git clone https://github.com/g2p/enter-uml.git
- git clone https://github.com/g2p/bcache-tools.git
- make -C bcache-tools
- sudo make -C bcache-tools install
- git clone https://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
- make -C btrfs-progs version.h btrfs-show-super
- export PATH=$PATH:$PWD/enter-uml:$PWD/btrfs-progs
- 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

Expand Down

0 comments on commit c86fb55

Please sign in to comment.