From 006686600047463719a8de51a59f5f0be11a45fc Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 5 Aug 2020 15:51:01 +0200 Subject: [PATCH] travis: install riscv toolchain for example. --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0017c82..0a75f1d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,12 @@ install: - cd $TRAVIS_BUILD_DIR - python3 setup.py install +before_script: + # Get RISC-V toolchain + - wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6.tar.gz + - tar -xvf riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6.tar.gz + - export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6/bin/ + script: - cd $TRAVIS_BUILD_DIR - python setup.py test