Removing Travis CI
This commit is contained in:
parent
d11f77fef0
commit
ca95bac8e1
4 changed files with 0 additions and 39 deletions
30
.travis.yml
30
.travis.yml
|
@ -1,30 +0,0 @@
|
|||
language: python
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
sudo: required
|
||||
python: 3.2
|
||||
- os: linux
|
||||
sudo: required
|
||||
python: 2.7
|
||||
- os: osx
|
||||
osx_image: xcode8.2
|
||||
language: generic
|
||||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install saltstack; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export HOME=/home/travis; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -L http://bootstrap.saltstack.org | sudo sh -s -- git develop; fi
|
||||
|
||||
install:
|
||||
- sudo mkdir -p /srv/salt/states
|
||||
- sudo cp -r salty/base/* /srv/salt/states
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo mkdir -p /etc/salt; fi
|
||||
- sudo cp -r .travis/minion /etc/salt/minion
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo service salt-minion restart; fi
|
||||
- sudo sh .travis/grains.sh
|
||||
|
||||
script:
|
||||
- sudo salt-call --local --config=./ --state-output=changes --log-level=quiet --retcode-passthrough state.apply
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
salt-call --local --config=./ --state-output=changes grains.setvals "{ \"user\": \"$(whoami)\", \"group\": \"$(id -g -n $(whoami))\", \"homedir\": \"$HOME\", \"travis\": True, \"pip\": \"$(which pip)\" }"
|
|
@ -1,4 +0,0 @@
|
|||
file_client: local
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt/states
|
|
@ -1,5 +1,3 @@
|
|||
[![Build Status](https://travis-ci.org/elazkani/pinch-dotfiles.svg?branch=master)](https://travis-ci.org/elazkani/pinch-dotfiles)
|
||||
|
||||
# Pinch
|
||||
|
||||
After using my own [Python script](https://github.com/elazkani/dotfiles/blob/master/bootstrap.py "bootstrap.py") to symlink my [dotfiles](https://en.wikipedia.org/wiki/Dot-file), I have decided to take [SaltStack](https://en.wikipedia.org/wiki/Salt_(software)) for a spin and see how it goes.
|
||||
|
|
Loading…
Reference in a new issue