Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Travis configuration to test all node types. #97

Merged
merged 15 commits into from Oct 28, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Skip only Android states, not nodes, on Travis

Instead of skipping all node types that include Android, use the pillar
to skip Android states on Travis.

Providing 'travis: True' in the pillar for a node will enable skipping
Android states; the key can simply be omitted if not on Travis, and Salt
will fall back to running Android states by default.
  • Loading branch information
aneeshusa committed Oct 27, 2015
commit e48294e491381a3977dc963cdb92e5ce4b846b36
@@ -13,13 +13,12 @@ matrix:
env: SALT_NODE_ID=servo-mac1
- os: osx
env: SALT_NODE_ID=servo-macpro1
# Android is flaky on Travis CI, so skip android-related nodes
#- os: linux
# env: SALT_NODE_ID=servo-linux-android1
#- os: linux
# env: SALT_NODE_ID=servo-head
- os: linux
env: SALT_NODE_ID=linux1
- os: linux
env: SALT_NODE_ID=servo-linux-android1
- os: linux
env: SALT_NODE_ID=servo-head

before_install:
- .travis/install_salt
@@ -1,5 +1,6 @@
base:
'*':
- travis
- buildbot.common

'servo-master':
@@ -0,0 +1 @@
travis: True
@@ -1,3 +1,6 @@
# Android is flaky on Travis
{% if not salt['pillar.get']('travis', False) %}

android-dependencies:
pkg.installed:
- pkgs:
@@ -85,3 +88,5 @@ android-ndk-toolset-configuration:
- user: servo
- group: servo
- mode: 0644

{% endif %}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.