You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+1
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ install:
14
14
- go get github.com/arduino/go-timeutils
15
15
16
16
script:
17
+
- go get github.com/arduino/arduino-builder/arduino-builder
17
18
- go build -o $HOME/arduino-builder -v github.com/arduino/arduino-builder/arduino-builder
18
19
- export TEST_PACKAGES=`go list github.com/arduino/arduino-builder/...`
19
20
- RES=0; I=0; for PKG in $TEST_PACKAGES; do go test -v -timeout 30m -covermode=count -coverprofile=coverage.$I.out $PKG; ((RES=RES+$?)); ((I++)); done; ( exit $RES )
compileFlag=flag.Bool(FLAG_ACTION_COMPILE, false, "compiles the given sketch")
143
157
preprocessFlag=flag.Bool(FLAG_ACTION_PREPROCESS, false, "preprocess the given sketch")
144
158
dumpPrefsFlag=flag.Bool(FLAG_ACTION_DUMP_PREFS, false, "dumps build properties used when compiling")
159
+
codeCompleteAtFlag=flag.String(FLAG_ACTION_CODE_COMPLETE_AT, "", "output code completions for sketch at a specific location. Location format is \"file:line:col\"")
145
160
buildOptionsFileFlag=flag.String(FLAG_BUILD_OPTIONS_FILE, "", "Instead of specifying --"+FLAG_HARDWARE+", --"+FLAG_TOOLS+" etc every time, you can load all such options from a file")
146
161
flag.Var(&hardwareFoldersFlag, FLAG_HARDWARE, "Specify a 'hardware' folder. Can be added multiple times for specifying multiple 'hardware' folders")
147
162
flag.Var(&toolsFoldersFlag, FLAG_TOOLS, "Specify a 'tools' folder. Can be added multiple times for specifying multiple 'tools' folders")
@@ -159,12 +174,40 @@ func init() {
159
174
warningsLevelFlag=flag.String(FLAG_WARNINGS, "", "Sets warnings level. Available values are '"+FLAG_WARNINGS_NONE+"', '"+FLAG_WARNINGS_DEFAULT+"', '"+FLAG_WARNINGS_MORE+"' and '"+FLAG_WARNINGS_ALL+"'")
160
175
loggerFlag=flag.String(FLAG_LOGGER, FLAG_LOGGER_HUMAN, "Sets type of logger. Available values are '"+FLAG_LOGGER_HUMAN+"', '"+FLAG_LOGGER_HUMANTAGS+"', '"+FLAG_LOGGER_MACHINE+"'")
161
176
versionFlag=flag.Bool(FLAG_VERSION, false, "prints version and exits")
177
+
daemonFlag=flag.Bool(FLAG_DAEMON, false, "daemonizes and serves its functions via rpc")
162
178
vidPidFlag=flag.String(FLAG_VID_PID, "", "specify to use vid/pid specific build properties, as defined in boards.txt")
179
+
jobsFlag=flag.Int(FLAG_JOBS, 0, "specify how many concurrent gcc processes should run at the same time. Defaults to the number of available cores on the running machine")
180
+
traceFlag=flag.Bool(FLAG_TRACE, false, "traces the whole process lifecycle")
0 commit comments