mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +08:00
travis.yml: build bitstream only if [soc] in commit message
This commit is contained in:
parent
17685d1e98
commit
a06164e4ce
@ -10,6 +10,7 @@ env:
|
|||||||
- ARTIQ_NO_HARDWARE=1
|
- ARTIQ_NO_HARDWARE=1
|
||||||
- secure: "DUk/Ihg8KbbzEgPF0qrHqlxU8e8eET9i/BtzNvFddIGX4HP/P2qz0nk3cVkmjuWhqJXSbC22RdKME9qqPzw6fJwJ6dpJ3OR6dDmSd7rewavq+niwxu52PVa+yK8mL4yf1terM7QQ5tIRf+yUL9qGKrZ2xyvEuRit6d4cFep43Ws="
|
- secure: "DUk/Ihg8KbbzEgPF0qrHqlxU8e8eET9i/BtzNvFddIGX4HP/P2qz0nk3cVkmjuWhqJXSbC22RdKME9qqPzw6fJwJ6dpJ3OR6dDmSd7rewavq+niwxu52PVa+yK8mL4yf1terM7QQ5tIRf+yUL9qGKrZ2xyvEuRit6d4cFep43Ws="
|
||||||
before_install:
|
before_install:
|
||||||
|
- echo "$TRAVIS_COMMIT_MSG" | grep -vq "\[soc\]"; export SOC=$?; true
|
||||||
- ./.travis/get-toolchain.sh
|
- ./.travis/get-toolchain.sh
|
||||||
- ./.travis/get-xilinx.sh
|
- ./.travis/get-xilinx.sh
|
||||||
- ./.travis/get-anaconda.sh pip coverage numpy scipy sphinx h5py pyserial dateutil
|
- ./.travis/get-anaconda.sh pip coverage numpy scipy sphinx h5py pyserial dateutil
|
||||||
@ -28,7 +29,7 @@ script:
|
|||||||
- make -C doc/manual html
|
- make -C doc/manual html
|
||||||
- cd misoc; python make.py -X ../soc -t artiq build-headers build-bios; cd ..
|
- cd misoc; python make.py -X ../soc -t artiq build-headers build-bios; cd ..
|
||||||
- make -C soc/runtime
|
- make -C soc/runtime
|
||||||
- cd misoc; python make.py -X ../soc -t artiq build-bitstream; cd ..
|
- if [ $SOC -ne 0 ]; then cd misoc python make.py -X ../soc -t artiq build-bitstream; cd ..; fi
|
||||||
after_success:
|
after_success:
|
||||||
coveralls
|
coveralls
|
||||||
notifications:
|
notifications:
|
||||||
|
Loading…
Reference in New Issue
Block a user