Skip to content

Commit

Permalink
Run CI locally
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
fao89 committed Aug 26, 2020
1 parent 12f3d94 commit b5ad093
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .travis/local_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env bash

# WARNING: DO NOT EDIT!
#
# This file was generated by plugin_template, and is managed by bootstrap.py. Please use
# bootstrap.py to update this file.
#
# For more info visit https://github.com/pulp/plugin_template

set -euv

# Copy current dir to /tmp
cd ..
mkdir -p /tmp/CI_env
cp -R ./galaxy_ng /tmp/CI_env
cd /tmp/CI_env/galaxy_ng

# Setting travis env vars - https://docs.travis-ci.com/user/environment-variables/#default-environment-variables
export TRAVIS_BUILD_DIR=$PWD
export TRAVIS_PULL_REQUEST=false
export TRAVIS_TAG=""
export TRAVIS_BRANCH=$(git rev-parse --abbrev-ref HEAD)
export TRAVIS_PULL_REQUEST_BRANCH=$(git rev-parse --abbrev-ref HEAD)

# Specify the test
export TEST="${TEST:-pulp}"


.travis/before_install.sh
.travis/install.sh
.travis/before_script.sh
.travis/script.sh

# SELinux trick for: [Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!]
https://github.com/ansible-community/molecule/issues/1724#issuecomment-460610492

0 comments on commit b5ad093

Please sign in to comment.