Skip to content

Commit

Permalink
get compiler via apt
Browse files Browse the repository at this point in the history
  • Loading branch information
pwittich committed Jun 26, 2019
1 parent 97a7cf5 commit 1f59aba
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ notifications:

sudo: false

# Ubuntu 16.04 LTS
dist: xenial

language: c

matrix:
Expand All @@ -15,23 +18,34 @@ addons:
apt:
packages:
- libc6-i386
- gcc-arm-none-eabi

#before_deploy:
## Set up git user name and tag this commit
# - git config --local user.name pwittich
# - git config --local user.email [email protected]


#deploy:
# provider: releases
# api_key: "GITHUB OAUTH TOKEN"
# file: projects/project2/gcc/project2.axf
# skip_cleanup: true
# on:
# tags: true


install:
- env
- pushd .
- cd ~
- mkdir arm-gcc-toolchain
- wget -O $HOME/arm-gcc-toolchain/gcc.tar.bz2 $GCC_URL
- cd arm-gcc-toolchain
- tar -jxf gcc.tar.bz2 --strip=1
# - mkdir arm-gcc-toolchain
# - wget -O $HOME/arm-gcc-toolchain/gcc.tar.bz2 $GCC_URL
# - cd arm-gcc-toolchain
# - tar -jxf gcc.tar.bz2 --strip=1
- cd $HOME
- svn checkout -q https://svn.code.sf.net/p/freertos/code/trunk freertos-code
- popd
- export PATH=$HOME/arm-gcc-toolchain/bin:$PATH
# - export PATH=$HOME/arm-gcc-toolchain/bin:$PATH
- export FREERTOS_ROOT=$HOME/freertos-code/FreeRTOS/Source
- export FREERTOS_PLUS_ROOT=$HOME/freertos-code/FreeRTOS-Plus/Source

Expand Down

0 comments on commit 1f59aba

Please sign in to comment.