Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
b1fee8b8
Commit
b1fee8b8
authored
Jan 17, 2015
by
Bruno Pinto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
running tests on linux and osx
parent
fcc15fc1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
+15
-10
.travis.yml
.travis.yml
+5
-1
script/bootstrap.sh
script/bootstrap.sh
+10
-4
script/run-tests.fish
script/run-tests.fish
+0
-5
No files found.
.travis.yml
View file @
b1fee8b8
language
:
c
os
:
-
linux
-
osx
env
:
-
FISH_PPA=nightly-master
-
FISH_PPA=nightly-master
BREW_OPTIONS=--HEAD
before_install
:
-
script/bootstrap.sh
...
...
script/bootstrap.sh
View file @
b1fee8b8
#!/usr/bin/env bash
ppa
=
ppa:fish-shell/
${
FISH_PPA
:-
nightly
-master
}
sudo
add-apt-repository
-y
$ppa
sudo
apt-get update
sudo
apt-get
-y
install
fish
if
[
"
$TRAVIS_OS_NAME
"
=
"linux"
]
;
then
ppa
=
ppa:fish-shell/
$FISH_PPA
sudo
add-apt-repository
-y
$ppa
sudo
apt-get update
sudo
apt-get
-y
install
fish
else
brew
install
fish
$BREW_OPTIONS
fi
curl
-L
https://github.com/
$TRAVIS_REPO_SLUG
/raw/
$TRAVIS_BRANCH
/tools/install.fish | fish
script/run-tests.fish
View file @
b1fee8b8
#!/usr/bin/env fish
# When running on CI, run tests from the correct branch
if set -q TRAVIS_BRANCH
command git checkout $TRAVIS_BRANCH
end
set -l result 0
for test in (find * -type f -print | grep "spec.fish")
fish $test $argv
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment