Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitff07375

Browse files
committed
Add travis CI build
1 parentf220dce commitff07375

File tree

3 files changed

+40
-4
lines changed

3 files changed

+40
-4
lines changed

‎.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bin/
2+
dist/

‎.travis.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
sudo:false
2+
3+
language:java
4+
5+
os:
6+
-linux
7+
8+
addons:
9+
apt:
10+
packages:
11+
-ant
12+
13+
jdk:
14+
-oraclejdk8
15+
16+
script:
17+
-export SRC=$PWD
18+
-cd $HOME
19+
-export TAG=1.6.6
20+
-wget https://github.com/arduino/Arduino/archive/$TAG.zip
21+
-unzip $TAG.zip
22+
-rm $TAG.zip
23+
-export arduino_dir=Arduino-$TAG
24+
-pushd $arduino_dir/build
25+
-echo "" | ant build
26+
-pushd shared/tools
27+
-mkdir -p ESP8266FS
28+
-rsync -a $SRC/ ESP8266FS/
29+
-pushd ESP8266FS
30+
-./make.sh
31+
-popd && popd && popd

‎make.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22

33
if [[-z"$INSTALLDIR" ]];then
44
INSTALLDIR="$HOME/Documents/Arduino"
55
fi
66
echo"INSTALLDIR:$INSTALLDIR"
77

8-
pde_path=`find ../../.. -name pde.jar`
9-
core_path=`find ../../.. -name arduino-core.jar`
10-
lib_path=`find ../../.. -name commons-codec-1.7.jar`
8+
pde_path=`find ../../../ -name pde.jar`
9+
core_path=`find ../../../ -name arduino-core.jar`
10+
lib_path=`find ../../../ -name commons-codec-1.7.jar`
1111
if [[-z"$core_path"||-z"$pde_path" ]];then
1212
echo"Some java libraries have not been built yet (did you run ant build?)"
1313
return 1
1414
fi
15+
echo"pde_path:$pde_path"
16+
echo"core_path:$core_path"
17+
echo"lib_path:$lib_path"
1518

1619
set -e
1720

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp