-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests on armhf and powerpc linux on Travis-CI
"powerpc" is big endian, all other tested architectures are little endian.
- Loading branch information
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# See .travis.yml how this docker image can be used. | ||
FROM multiarch/ubuntu-debootstrap:armhf-bionic | ||
|
||
RUN uname -a | ||
RUN apt-get update -qq && \ | ||
apt-get install -yq \ | ||
autoconf \ | ||
automake \ | ||
file \ | ||
gcc \ | ||
git \ | ||
libtool \ | ||
make \ | ||
ruby-dev | ||
RUN ruby --version | ||
|
||
WORKDIR /ffi | ||
COPY . . | ||
|
||
RUN gem install bundler --no-doc && \ | ||
bundle install | ||
|
||
CMD bundle install && \ | ||
bundle exec rake compile && \ | ||
bundle exec rake test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# See .travis.yml how this docker image can be used. | ||
FROM multiarch/ubuntu-debootstrap:powerpc-xenial | ||
|
||
RUN uname -a | ||
RUN apt-get update -qq && \ | ||
apt-get install -yq \ | ||
autoconf \ | ||
automake \ | ||
file \ | ||
gcc \ | ||
git \ | ||
libtool \ | ||
make \ | ||
ruby-dev | ||
RUN ruby --version | ||
|
||
WORKDIR /ffi | ||
COPY . . | ||
|
||
RUN gem install bundler --no-doc && \ | ||
bundle install | ||
|
||
CMD bundle install && \ | ||
bundle exec rake compile && \ | ||
bundle exec rake test |