Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
f4ad2624
Commit
f4ad2624
authored
Feb 05, 2017
by
me-no-dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update travis and build script to not fail
parent
c66b54a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
.travis.yml
.travis.yml
+6
-1
tools/common.sh
tools/common.sh
+3
-3
No files found.
.travis.yml
View file @
f4ad2624
...
...
@@ -8,7 +8,8 @@ os:
-
linux
script
:
-
set -e
#- set -e
-
echo -e "travis_fold:start:sketch_test_env_prepare"
-
wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
-
tar xf arduino.tar.xz
-
mv arduino-nightly $HOME/arduino_ide
...
...
@@ -32,11 +33,15 @@ script:
-
echo -e "travis_fold:end:size_report"
# test library examples with PlatformIO
-
echo -e "travis_fold:start:platformio_test_env_prepare"
-
pip install -U https://github.com/platformio/platformio/archive/develop.zip
-
platformio platform install https://github.com/platformio/platform-espressif32.git#feature/stage
-
sed -i 's/https:\/\/github\.com\/espressif\/arduino-esp32\.git/*/' ~/.platformio/platforms/espressif32_stage/platform.json
-
ln -s $TRAVIS_BUILD_DIR ~/.platformio/packages/framework-arduinoespressif32
-
echo -e "travis_fold:end:platformio_test_env_prepare"
-
echo -e "travis_fold:start:platformio_test"
-
"
python
-c
\"
import
glob,os,subprocess,sys;
map(lambda
p:
(sys.stdout.write('Library
example:
%s
\\
n'
%
p),
subprocess.call(['pio',
'ci',
p,
'--board',
'esp32dev'])),
set([os.path.dirname(p)
for
p
in
glob.glob('libraries/*/examples/*/*.ino')
+
glob.glob('libraries/*/examples/*/*/*.ino')]))
\"
"
-
echo -e "travis_fold:end:platformio_test"
notifications
:
email
:
...
...
tools/common.sh
View file @
f4ad2624
...
...
@@ -31,7 +31,7 @@ function print_size_info()
function
build_sketches
()
{
set
+e
#
set +e
local
arduino
=
$1
local
srcpath
=
$2
local
build_arg
=
$3
...
...
@@ -56,7 +56,7 @@ function build_sketches()
fi
echo
-e
"
\n
------------ Building
$sketch
------------
\n
"
;
# $arduino --verify $sketch;
echo
"
$build_cmd
$sketch
"
#
echo "$build_cmd $sketch"
time
(
$build_cmd
$sketch
>
build.log
)
local
result
=
$?
if
[
$result
-ne
0
]
;
then
...
...
@@ -68,5 +68,5 @@ function build_sketches()
rm
build.log
print_size_info
$build_dir
/
*
.elf
>>
size.log
done
set
-e
#
set -e
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment