Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
f1583750
Commit
f1583750
authored
8 years ago
by
Todd Gamblin
Browse files
Options
Downloads
Patches
Plain Diff
.travis.yml uses a script now.
- user can run the same script.
parent
d7847ff7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+2
-15
2 additions, 15 deletions
.travis.yml
with
2 additions
and
15 deletions
.travis.yml
+
2
−
15
View file @
f1583750
...
...
@@ -29,21 +29,8 @@ script:
# Run unit tests with code coverage
-
coverage run bin/spack test
# Check if changed files are flake8 conformant [framework]
-
changed=$(git diff --name-only develop... | grep '.py$' | grep -v ^var/)
-
[[
$changed
]]
&&
\
flake8 --format pylint --config share/spack/qa/flake8-framework $changed
# Check if changed files are flake8 conformant [packages]
-
changed=$(git diff --name-only develop... | grep '.py$' | grep ^var/)
# Exempt url lines in changed packages from overlong errors.
-
for file in $changed; do \
[[ file = *package.py ]] && \
perl -i~ -pe 's/^(\s*url\s*=.*)$/\1
# NOQA/' $file; \
done
-
[[
$changed
]]
&&
\
flake8 --format pylint --config share/spack/qa/flake8-packages $changed
# Run flake8 code style checks.
-
share/spack/qa/run-flake8
after_success
:
-
coveralls
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment