Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Ci tests #417

Merged
merged 2 commits into from Dec 19, 2018
Merged

Ci tests #417

merged 2 commits into from Dec 19, 2018

Conversation

GuillaumeGomez
Copy link
Member

Fixes #414.

cargo doc --features "dox";
fi
- if ! [ "$ARM" == "1" ]; then
cargo test --features "subclassing";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not run this also on ARM?

.travis.yml Outdated
- cd _examples
- ./build_travis.sh
- if ! [ "$ARM" == "1" ]; then
git clone -q --depth 50 -b pending https://github.com/gtk-rs/examples _examples;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this also seems useful on ARM

cargo test --features "subclassing";
fi
- if [ "$ARM" == "1" ]; then
PKG_CONFIG_ALLOW_CROSS=1 cargo build $OTHER_TARGET;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't use if with some command with else ?
IMHO this refers to many one-comand "$TRAVIS_OS_NAME" == "osx" too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simply because it's easier to spot errors when reading CI output. Actually, there is a way to have "stages" in travis but I don't have enough time to write a clean CI script for the moment.

@GuillaumeGomez
Copy link
Member Author

Seems like it works.

cc @EPashkin @sdroege

@sdroege
Copy link
Member

sdroege commented Dec 19, 2018

👍

@EPashkin
Copy link
Member

🎉

@GuillaumeGomez GuillaumeGomez merged commit 318b17c into gtk-rs:master Dec 19, 2018
@GuillaumeGomez GuillaumeGomez deleted the ci-tests branch December 19, 2018 16:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants