Skip to content

Commit

Permalink
Travis: Migrated to shared repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tyearke committed Sep 28, 2017
1 parent 978b674 commit 228c5be
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 1,961 deletions.
96 changes: 0 additions & 96 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ chance of keeping on top of things.

## Style Guidelines (linting)

* If there exists a linter config file for some aspect of the project (e.g. `.eslintrc.json`, `.editorconfig`, `.remarkrc`), please use the associated linter with the config.
* If there exists a linter config file for some aspect of the project (e.g. `.eslintrc.json`, `.editorconfig`, `.remarkrc`) in this repo or [`xdmod-travis`](https://github.com/ubccr/xdmod-travis), please use the associated linter with the config.
* If there is no applicable linter or linter config when editing a file, try to stick with its current style.
* Make sure that you fix any errors found by all configured linters (e.g. remark-lint, ESLint, phpcs).
* If an error or warning can't be fixed, please add comments to the pull/commit explaining why.
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -308,3 +308,5 @@ configuration/aggregation_meta/
# eclipse project files
/.project

# External Travis testing assets
/.travis/
172 changes: 0 additions & 172 deletions .travis.build.sh

This file was deleted.

24 changes: 0 additions & 24 deletions .travis.install.sh

This file was deleted.

31 changes: 11 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Use container-based environment for quicker initialization
sudo: false

# Since we still support CentOS 6 we need to be able to test 5.3.3
dist: precise

# Specify the build matrix
language: php
php:
Expand All @@ -13,29 +10,23 @@ php:
env:
global:
- NODE_VERSION=6
matrix:
- TEST_SUITE=syntax
- TEST_SUITE=style
- TEST_SUITE=build CACHE_NAME=build

matrix:
allow_failures:
- env: TEST_SUITE=style
exclude:
- php: '7.0'
env: TEST_SUITE=style
- php: '7.1.6'
env: TEST_SUITE=style
- XDMOD_TEST_ARTIFACTS_MIRROR="$HOME/xdmod-test-artifacts.git"
- XDMOD_MODULE_DIR="appkernels"
- XDMOD_MODULE_NAME="Application Kernels"

# Add dependency directories to the Travis cache
cache:
directories:
- $HOME/.npm
- $HOME/.composer/cache
- /tmp/pear/cache
- $XDMOD_TEST_ARTIFACTS_MIRROR

# Obtain the shared Travis assets before using them.
before_install: git clone --depth=1 --branch="v1" https://github.com/ubccr/xdmod-travis.git .travis

# Delegate the installation step to the custom Travis installation script
install: ./.travis.install.sh
# Delegate the installation step to the shared Travis installation script
install: .travis/install.sh

# Delegate the build step to the custom Travis build script
script: ./.travis.build.sh
# Delegate the build step to the shared Travis build script
script: .travis/build.sh
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
}
},
"require-dev": {
"squizlabs/php_codesniffer": "2.8.0"
}
}
Loading

0 comments on commit 228c5be

Please sign in to comment.