-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (35 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
os: osx
git:
submodules: false
before_script:
- chmod +x .travis.install
- ./.travis.install
- git clone --depth 1 https://github.com/alexdobin/STAR STARcompile
script:
- cd STARcompile/source
- gpp=`find /usr/local/Cellar/ -name 'g++-*'`
- echo $gpp
- make STARforMacStatic CXX=$gpp
- ./STAR
- cp STAR ../..
- make clean
- make STARlongForMacStatic CXX=$gpp
- ./STARlong
- cp STARlong ../..
after_success:
- cd ../..
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- eval "$(ssh-agent -s)" #start the ssh agent
- chmod 600 .travis/deploy_key.pem # this key should have push access
- ssh-add .travis/deploy_key.pem
- git clone [email protected]:alexdobin/travis-tests1
- cd travis-tests1
- git config user.name alexdobin
- git config user.email [email protected]
- cp ../STAR ../STARlong ./
- ls -l
- ./STAR --version
- ./STARlong --version
- git add STAR STARlong
- git commit -a -m "Added STAR STARlong"
- git push origin master