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")
142
147
preprocessFlag=flag.Bool(FLAG_ACTION_PREPROCESS, false, "preprocess the given sketch")
143
148
dumpPrefsFlag=flag.Bool(FLAG_ACTION_DUMP_PREFS, false, "dumps build properties used when compiling")
149
+
codeCompleteAtFlag=flag.String(FLAG_ACTION_CODE_COMPLETE_AT, "", "output code completions for sketch at a specific location. Location format is \"file:line:col\"")
144
150
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")
145
151
flag.Var(&hardwareFoldersFlag, FLAG_HARDWARE, "Specify a 'hardware' folder. Can be added multiple times for specifying multiple 'hardware' folders")
146
152
flag.Var(&toolsFoldersFlag, FLAG_TOOLS, "Specify a 'tools' folder. Can be added multiple times for specifying multiple 'tools' folders")
@@ -158,12 +164,40 @@ func init() {
158
164
warningsLevelFlag=flag.String(FLAG_WARNINGS, "", "Sets warnings level. Available values are '"+FLAG_WARNINGS_NONE+"', '"+FLAG_WARNINGS_DEFAULT+"', '"+FLAG_WARNINGS_MORE+"' and '"+FLAG_WARNINGS_ALL+"'")
159
165
loggerFlag=flag.String(FLAG_LOGGER, FLAG_LOGGER_HUMAN, "Sets type of logger. Available values are '"+FLAG_LOGGER_HUMAN+"', '"+FLAG_LOGGER_HUMANTAGS+"', '"+FLAG_LOGGER_MACHINE+"'")
160
166
versionFlag=flag.Bool(FLAG_VERSION, false, "prints version and exits")
167
+
daemonFlag=flag.Bool(FLAG_DAEMON, false, "daemonizes and serves its functions via rpc")
161
168
vidPidFlag=flag.String(FLAG_VID_PID, "", "specify to use vid/pid specific build properties, as defined in boards.txt")
169
+
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")
170
+
traceFlag=flag.Bool(FLAG_TRACE, false, "traces the whole process lifecycle")
0 commit comments