Skip to content

Commit cda5bef

Browse files
danghaispbnick
authored andcommitted
Travis CI: Switch to dkms_install/dkms_uninstall
1 parent 90a5250 commit cda5bef

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,9 @@ before_install:
99
- sudo apt-get install linux-headers-`uname -r`
1010
script:
1111
- make
12-
# Getting PACKAGE_VERSION release
13-
- PACKAGE_VERSION=`. dkms.conf; echo $PACKAGE_VERSION`
14-
# Testing add, build, install and remove dkms
15-
- sudo git checkout-index --all --prefix=/usr/src/digimend-$PACKAGE_VERSION/
16-
- sudo dkms add -m digimend -v $PACKAGE_VERSION
17-
- sudo dkms build -m digimend -v $PACKAGE_VERSION
18-
- sudo dkms install -m digimend -v $PACKAGE_VERSION
19-
- sudo dkms uninstall -m digimend -v $PACKAGE_VERSION
12+
# Testing dkms install/uninstall
13+
- sudo make dkms_install
14+
- sudo make dkms_uninstall
2015
# Testing Debian package installation, configuration, and uninstall
2116
- dpkg-buildpackage -b -uc
2217
# Checks Debian packages for common inconsistencies and errors

0 commit comments

Comments
 (0)