-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
50 lines (46 loc) · 2.09 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: c
sudo: false
dist: bionic
addons:
apt:
packages:
- protobuf-compiler
- python3-venv
- python3-pip
script:
- git fetch --depth=1
- git fetch --unshallow
- git fetch origin '+refs/heads/master:refs/heads/master'
- git fetch origin '+refs/heads/develop:refs/heads/develop'
- git fetch --tags
- git checkout -qf $TRAVIS_BRANCH
- git submodule init
- git submodule update
- cd lib/other/nanopb/generator/proto && make && cd ../../../../..
- cd lib/libopencm3 && make && cd ../..
- cp config/plumpot_cellular_defconfig .config
- olddefconfig
- scons
cache:
directories:
- $HOME/gcc-arm-none-eabi-10-2020-q4-major
before_install:
- sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
- export GCC_DIR=$HOME/gcc-arm-none-eabi-10-2020-q4-major
- export GCC_ARCHIVE=$HOME/gcc-arm-none-eabi-10-2020-q4-major-linux.tar.bz2
- export GCC_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
- if [ ! -e $GCC_DIR/bin/arm-none-eabi-gcc ]; then wget $GCC_URL -O $GCC_ARCHIVE; tar xfj $GCC_ARCHIVE -C $HOME; fi
- export PATH=$PATH:$GCC_DIR/bin
- python3 -m venv ~/.venv/plumcore
- source ~/.venv/plumcore/bin/activate
- python3 -m pip install -r requirements.txt
deploy:
provider: releases
api_key:
secure: FDoxUZ6d1e0lUA7NrtuvmtK+QU4VN5fGtyB2uUKW8/yV6petaGLMfTKgO0F0y7fEAF2VAxmYM7C3R1W+zl7jXhPz7YBO0QOJPatk/yQX7Mn9NHbCNPROW8KpSzlu+Ma6pFE21MZ+yvk6ugKa5gHZs+9wOEmbdqpk5Szpl0vA/b+EoDYGAdEwTfp/1e973XQX4pHcgd8sLftruDfuNfaEfVbgdRsIHyp7Rqxrgh2aksd0GQEuqIFq8YzztvX8Ir6BU8YJnZHvYvG4cL64LlMuLkMj2GDdUPMZpd7DLLkIliaz9irgP7m5dIvA6i8071ks1lpTRFE29klw5VBn/cLNcRTqSNCIXr1IPiP5vNJmscwk4tbOcjXPl29cz8Eue/r7XSciIqFK4xuiJXfv1oeFFxvpMKpm+tEdo5BQqiW9FL+6LZXIZdOjNgrs7cbOrH/6EHbQlGOE+v3ta4rlV6aAFywYGXfN/99E2HFpG02AYdMZvrRwPdpCSLUTwiAo1g3Fsig5H2v5qwFTcURtV4FxcK2ucEXolVGHqQSBnbqCRITyUKpf6lhW+JiV5tCaR9iWUfR6bfGZ+JrSoJYYdDmabOiHw8grPu9m8Afs5YkCuDglDm8Rp7hMtZ5d51Vqq2v+Op+Y+ZiQRBUs+muKZT94j0Zvu9kFAn6HbaVawvxcc2M=
file_glob: true
file:
bin/*.fw
bin/*.elf
on:
tags: true