mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-18 11:23:38 +01:00
Merge pull request #130 from QuantumPackage/dev
Keep travis cache on failure
This commit is contained in:
commit
209cea8152
@ -4,7 +4,6 @@
|
|||||||
# Extract cache from config stage
|
# Extract cache from config stage
|
||||||
cd ../
|
cd ../
|
||||||
tar -zxf $HOME/cache/config.tgz
|
tar -zxf $HOME/cache/config.tgz
|
||||||
rm $HOME/cache/config.tgz
|
|
||||||
|
|
||||||
# Configure QP2
|
# Configure QP2
|
||||||
cd qp2
|
cd qp2
|
||||||
@ -13,5 +12,5 @@ ninja -j 1 -v
|
|||||||
|
|
||||||
# Create cache
|
# Create cache
|
||||||
cd ..
|
cd ..
|
||||||
tar -zcf $HOME/cache/compil.tgz qp2
|
tar -zcf $HOME/cache/compil.tgz qp2 && rm $HOME/cache/config.tgz
|
||||||
|
|
||||||
|
@ -4,12 +4,11 @@
|
|||||||
# Extract cache from compile stage
|
# Extract cache from compile stage
|
||||||
cd ../
|
cd ../
|
||||||
tar -zxf $HOME/cache/compil.tgz
|
tar -zxf $HOME/cache/compil.tgz
|
||||||
rm $HOME/cache/compil.tgz
|
|
||||||
|
|
||||||
# Configure QP2
|
# Configure QP2
|
||||||
cd qp2
|
cd qp2
|
||||||
source ./quantum_package.rc
|
source ./quantum_package.rc
|
||||||
qp_test -a
|
qp_test -a && rm $HOME/cache/compil.tgz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user