From 4987f769fa26087f7aa1ec90d4c5ad21032d1f7e Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Mon, 24 Feb 2020 07:01:24 -0700 Subject: [PATCH] Initial CI (#39) --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..f929503c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: c +dist: bionic + +env: + global: + - BOLOS_ENV=$TRAVIS_BUILD_DIR/bolos-env + +before_install: + - sudo apt-get update + - sudo apt-get install -y gcc-multilib g++-multilib python3-pip + - sudo apt-get install -y libudev-dev libusb-1.0-0-dev pkg-config + - sudo mkdir -p $BOLOS_ENV + - wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/5_3-2016q1/gccarmnoneeabi532016q120160330linuxtar.bz2 + - sudo tar xf gccarmnoneeabi532016q120160330linuxtar.bz2 -C $BOLOS_ENV + - wget http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz + - sudo tar xf clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz -C $BOLOS_ENV + - sudo mv -f $BOLOS_ENV/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04 $BOLOS_ENV/clang-arm-fropi + - sudo apt-get install python3-setuptools + - python3 -m pip install ledgerblue + +script: make