mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 20:15:34 +00:00
This runs a script in TravisCI that executes a bunch of small Docker image scripts to test the language ports in isolated environments. This allows us to test multiple language versions with little additional complexity. Covers: + Java OpenJDK 10.0.2 + Java OpenJDK 11.0.1 + Node 10.13.0 + Node 11.2.0 + Python CPython 2.7.15 + Python CPython 3.7.1 + Rust 1.30.1
9 lines
245 B
Docker
9 lines
245 B
Docker
FROM node:10.13.0-stretch as base
|
|
WORKDIR /code
|
|
ADD . .
|
|
RUN cp flatc_debian_stretch flatc
|
|
WORKDIR /code/tests
|
|
RUN node --version
|
|
RUN ../flatc -b -I include_test monster_test.fbs unicode_test.json
|
|
RUN node JavaScriptTest ./monster_test_generated
|