Jesse Vincent
1d1355a36e
Switch away from some travis-specific targets that were noops
4 years ago
Jesse Vincent
dd9faf910c
Rework our travis config to be a bit more efficient, moving the work dir to a ramdisk, checking less stuff out of git, etc.
4 years ago
Jesse Vincent
db93473e12
It's not faster, but I'd rather have parallelization on, so we don't break it
4 years ago
Jesse Vincent
adb9cd91dc
try non-parallel builds
4 years ago
Jesse Vincent
028a43c117
-j 32 is too many, but an interesting test
4 years ago
Jesse Vincent
8f4a418bdb
try -j2 for travis perf
4 years ago
Jesse Vincent
ed10a207d4
Try moving setup to setup section
4 years ago
Jesse Vincent
d7ed55db25
Try shallow clones of submodules
4 years ago
Jesse Vincent
2d4b22db75
manually set up ccache before parallelization
4 years ago
Jesse Vincent
bbb04d77e9
got the env variables wrong
4 years ago
Jesse Vincent
1d7f0df72a
Attempt to clean up travis config to enable smoke-sketches
4 years ago
Jesse Vincent
9aff83fb65
Fixed travis config issues reeported by travis
4 years ago
Jesse Vincent
2b209a1fe5
Break out our tests into a build matrix for parallelization and readability
4 years ago
Jesse Vincent
cb9cc68119
we don't need to double-cache ccache
4 years ago
Jesse Vincent
ff2005bdb2
try explicitly caching the build cache
4 years ago
Jesse Vincent
5af5d6a027
Try to cache our arduino download
4 years ago
Jesse Vincent
1da4882fd2
open up our ccache a bit, try to cache apt pkgs
4 years ago
Jesse Vincent
f56ea0d5e4
Try to make our ccache hit rate better using more flexible matching heuristics
4 years ago
Jesse Vincent
e72cd8b7b0
Stop caching a directory we explictly delete. report some ccache stats for debugging
4 years ago
Jesse Vincent
e26e19b788
switch to quiet git clones
4 years ago
Jesse Vincent
e429f14d4a
Switch to building on ubuntu 20.04
4 years ago
Gergely Nagy
942e585c2b
travis: Run cpplint as part of our tests, too.
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Jesse Vincent
19db624875
Add LC_ALL to .travis.yml to stop the newer travis vm images from complaining about locale
...
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
4 years ago
Gergely Nagy
b036d7da51
travis: Update to run the new googletest-based suite aswell
...
We do a number of things here:
- Bump the distro version from Trusty to Bionic, because we need newer tools.
- Install cmake.
- Unset CC, because it interferes with our virtual builds.
- Run the googletest-based suite before building the examples
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
5cd6d363d4
travis: Move the hardware dir one level up
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
5 years ago
Gergely Nagy
b8d5c3a203
travis: Make sure we use the current Kaleidoscope
...
As it turns out, simply removing the `library.properties` from the Bundle's
Kaleidoscope is not enough to discard it completely. So instead, to make sure
we're using the right version of it, remove the copy from the bundle, and
symlink ourselves back in.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
5 years ago
Gergely Nagy
bd8e7a6fa0
travis: Force Arduino to use the current copy of Kaleidoscope
...
While we made attempts at forcing Arduino to use the current copy (that's what
all the `current-libraries` stuff are), it apparently doesn't work anymore. As a
quick workaround, delete the bundled Kaleidoscope's `library.properties`, so
Arduino won't find it, and will use the current one instead.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
5 years ago
Jesse Vincent
6856971cdb
attempt to get travis to use our fancy new caching
6 years ago
Jesse Vincent
78f1a91957
Update our ccache travis config to match https://docs.travis-ci.com/user/caching/
6 years ago
Gergely Nagy
58d8597f4d
Travis cleanup
...
Remove the IRC notifications from Travis (we're not using IRC anymore).
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
dc0168216e
.travis.yml: Remove shellcheck from the script step
...
With keyboardio/Kaleidoscope-Build-Tools#2, it is now done by the `travis-test`
target. We still need to install the shellcheck package, however.
Fixes #356 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Jesse Vincent
cddb35e172
Update .travis.yml with new bundle pointer
6 years ago
Gergely Nagy
d59e07d7a3
Travis: ShellCheck kaleidoscope-builder
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
9825e4057a
Attempt to switch to shared build infrastructure for build and test.
...
The one downside to this is that we're now using the version of builder
in Arduino-boards rather than in the current checkout.
8 years ago
Gergely Nagy
caaa667674
travis: Call make build-all to build all the examples
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
63cb1f393f
Try coming up the current arduino builder, because why not
8 years ago
Jesse Vincent
332d9d05c4
First pass at a travis for this new thing using an arduino board definition
8 years ago
Scott Perry
86769ed202
installed arduino toolchain is another level up now as well
8 years ago
Scott Perry
8d4f6ec5da
Travis needs to `cd` into `/source` before invoking make
8 years ago
Scott Perry
51eba85906
Move firmware into /source, deps as submodules in /libraries
8 years ago
Jesse Vincent
4ab71d1bfc
[travis] Add IRC notifications
9 years ago
Jesse Vincent
c205e50ecb
[travis] Now that we're not caching the arduino environment, we don't need the guard
9 years ago
Jesse Vincent
1b4e0915b0
[travis] Add Travis notifications to Keyboardio Slack
9 years ago
Jesse Vincent
ad252541a7
[travis] Travis rewrote our travis config
9 years ago
Jesse Vincent
0edeba9b1f
[travis] Per the Travis docs, caching the Arduino IDE may actually _hurt_ perf.
...
http://docs.travis-ci.com/user/caching/#How-does-the-caching-work%3F
9 years ago
Jesse Vincent
d28cb819f9
[travis] Now that we've debugged the caching of the Arduino stuff, turn down the verbosity
9 years ago
Jesse Vincent
39c4e04fdf
[travis] looks like travis explicitly creates directories when you say to cache them. even if you end up with empty directories
9 years ago
Jesse Vincent
238e390df6
[travis] clearly doing something dumb around caching. debugging output
9 years ago
Jesse Vincent
1e6b88eb46
[travis] further work on caching
9 years ago
Jesse Vincent
1b67ff539d
[travis] Make the arduino download verbose (and move it from $HOME)
9 years ago