.travis.yml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. dist: bionic
  2. sudo: required
  3. language: shell
  4. compiler:
  5. env:
  6. git:
  7. depth: 3
  8. before_install:
  9. install:
  10. - sudo apt-get install -y -qq diffstat texinfo chrpath
  11. script:
  12. - cd ../
  13. - git clone --depth=3 git://git.openembedded.org/openembedded-core
  14. - cd openembedded-core
  15. - mv ../meta-riscv ./
  16. - git clone --depth=3 git://git.openembedded.org/bitbake
  17. - git clone --depth=3 git://git.openembedded.org/meta-openembedded
  18. - source oe-init-build-env
  19. - find ./conf/bblayers.conf -type f -exec sed -i "s| \"| $(pwd)/../meta-openembedded/meta-oe \\\ \\n \"|g" {} +
  20. - find ./conf/bblayers.conf -type f -exec sed -i "s| \"| $(pwd)/../meta-riscv \\\ \\n \"|g" {} +
  21. - MACHINE=qemuriscv64 timeout --foreground 55m bitbake core-image-minimal || if [ $? == 124 ]; then echo "Timeout"; else return 1; fi;
  22. - MACHINE=qemuriscv32 timeout --foreground 55m bitbake core-image-minimal || if [ $? == 124 ]; then echo "Timeout"; else return 1; fi
  23. - MACHINE=freedom-u540 timeout --foreground 55m bitbake core-image-minimal || if [ $? == 124 ]; then echo "Timeout"; else return 1; fi
  24. after_success: