9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-10-14 03:31:32 +02:00

Keep travis cache on failure

This commit is contained in:
Anthony Scemama 2020-08-25 11:17:30 +02:00
parent 6c6070e818
commit 15535e6fa4
2 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,6 @@
# Extract cache from config stage
cd ../
tar -zxf $HOME/cache/config.tgz
rm $HOME/cache/config.tgz
# Configure QP2
cd qp2
@ -13,5 +12,5 @@ ninja -j 1 -v
# Create cache
cd ..
tar -zcf $HOME/cache/compil.tgz qp2
tar -zcf $HOME/cache/compil.tgz qp2 && rm $HOME/cache/config.tgz

View File

@ -4,12 +4,11 @@
# Extract cache from compile stage
cd ../
tar -zxf $HOME/cache/compil.tgz
rm $HOME/cache/compil.tgz
# Configure QP2
cd qp2
source ./quantum_package.rc
qp_test -a
qp_test -a && rm $HOME/cache/compil.tgz