Update travis build script
This commit is contained in:
parent
cb0dd7ffd5
commit
0a882d1763
|
@ -28,7 +28,7 @@ before_install:
|
||||||
fi
|
fi
|
||||||
- cd cookbook && ./setup.sh && cd ..
|
- cd cookbook && ./setup.sh && cd ..
|
||||||
script:
|
script:
|
||||||
- make travis
|
- make clean && make travis
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
webhooks: http://37.139.9.28:54863/travis
|
webhooks: http://37.139.9.28:54863/travis
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -47,11 +47,12 @@ include mk/disk.mk
|
||||||
|
|
||||||
# Travis target
|
# Travis target
|
||||||
travis: FORCE
|
travis: FORCE
|
||||||
make clean
|
|
||||||
INSTALLER_FLAGS= make build/harddrive.bin.gz build/livedisk.iso
|
INSTALLER_FLAGS= make build/harddrive.bin.gz build/livedisk.iso
|
||||||
|
rm -rf build/travis
|
||||||
mkdir build/travis
|
mkdir build/travis
|
||||||
mv build/harddrive.bin.gz build/travis/redox_$(TRAVIS_TAG).bin.gz
|
mv build/harddrive.bin.gz build/travis/redox_$(TRAVIS_TAG).bin.gz
|
||||||
mv build/livedisk.iso build/travis/redox_$(TRAVIS_TAG).iso
|
mv build/livedisk.iso build/travis/redox_$(TRAVIS_TAG).iso
|
||||||
|
cd build/travis && sha256sum -b redox_$(TRAVIS_TAG).bin.gz redox_$(TRAVIS_TAG).iso > SHA256SUM
|
||||||
|
|
||||||
# An empty target
|
# An empty target
|
||||||
FORCE:
|
FORCE:
|
||||||
|
|
Loading…
Reference in a new issue