Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relibc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Limkilde Svendsen
relibc
Commits
befca562
Unverified
Commit
befca562
authored
7 years ago
by
Jeremy Soller
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #95 from ids1024/travis
Use build matrix on Travis CI
parents
362849f0
b7d68895
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+8
-3
8 additions, 3 deletions
.travis.yml
ci.sh
+0
-12
0 additions, 12 deletions
ci.sh
with
8 additions
and
15 deletions
.travis.yml
+
8
−
3
View file @
befca562
language
:
rust
env
:
-
-
TARGET=aarch64-unknown-linux-gnu
-
TARGET=x86_64-unknown-redox
rust
:
-
nightly
cache
:
cargo
before_script
:
-
rustup component add rustfmt-preview
-
rustup target add x86_64-unknown-redox
-
rustup target add aarch64-unknown-linux-gnu
-
if [ -n "$TARGET" ]; then rustup target add $TARGET; fi
script
:
-
bash ./ci.sh
-
./fmt.sh -- --write-mode=diff
-
cargo build $([ -n "$TARGET" ] && echo --target="$TARGET")
-
if [ -z "$TARGET" ]; then ./test.sh; fi
notifications
:
email
:
false
This diff is collapsed.
Click to expand it.
ci.sh
deleted
100755 → 0
+
0
−
12
View file @
362849f0
#!/bin/bash
set
-ex
./fmt.sh
--
--write-mode
=
diff
./test.sh
cargo build
--target
=
x86_64-unknown-redox
if
[
$(
arch
)
==
"x86_64"
]
then
cargo build
--target
=
aarch64-unknown-linux-gnu
else
cargo build
--target
=
x86_64-unknown-linux-gnu
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment